Off Topic

Stop procrastinating and get back to work!

Print this post

Annoyances

I realized that my entire site has been loading way too slowly for the past few weeks. I finally traced it to a single typo in the php script that produces those five little pictures in my site header. As a result of the typo, those five pictures were being freshly loaded from picasaweb every time rather than loaded from cache, which dragged my site to a screeching halt.

It’s fixed. My site is much, much faster now. If you’re curious, I had to change this…

refreshAlbumCache($userName,$album,$thumbsize,$imageSize);

to this…

refreshAlbumCache($userName,$album,$thumbsize,$imagesize);

If you think the typo is hard to find in just that line, imagine trying to find that hidden in several hundred lines of code. (I had at least figured out that it was the images script causing the problem, so that saved me some trouble, but it is over 300 lines long.)

grrrrr.

Share this post (what's this?) These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Facebook
  • Google
  • Slashdot
  • StumbleUpon
  • Technorati

No Comments Yet

Leave a comment

Comment Guidelines
  • Yes, your comments will be visible to everybody. (Unless you use the private contact form.)
  • Allowed HTML: <a> <b> <blockquote> <cite> <code> <em> <i> <strong>
  • Code: Put code in `backticks` (above your "Tab" key) or it won't display well
  • Gravatars: To override the default image by your comment, use a gravatar
  • Links: If you include more than one link, your comment will go into the spam queue