Author Topic: Improving Performance  (Read 6577 times)

0 Members and 1 Guest are viewing this topic.

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Improving Performance
« on: April 21, 2002, 04:31:16 »
If you're finding that your site runs slowly, there are a few things you can do to help speed it up:

  • Avoid large albums. If your albums contain a lot of pictures, consider breaking them up into smaller albums. Displaying a small number of photos per page helps, but not nearly as much as having a smaller album.
  • Remove any file extensions from the imgexts and movieexts config items. Each unused extension in these lists slows down some basic operations, so short lists will be faster. If you don't deal with movies at all, leave movieexts totally blank.
  • Image shrouding (leaving album_web blank) is a large performace hit, espeically in albums where many thumbnails are used.
  • Use actual thumbnails (not contstrained thumbs) wherever possible. They load faster.
  • Consider removing the "random," "popular" and "search" features if you have a large album - they can take up a lot of resources to run.

As I discover more, I will post them here.
« Last Edit: March 01, 2005, 09:15:44 by Mike Bobbitt »