Performance Enhancement

Comments on the website and discussion forums, including enhancement requests and bug reports.
Post Reply
User avatar
Pete Eeles
Administrator & Stock Contributor
Administrator & Stock Contributor
Posts: 6760
Joined: Tue Jan 17, 2006 6:10 pm
Location: Thatcham, Berkshire
Contact:

Performance Enhancement

Post by Pete Eeles »

Just to let everyone know that I’ve implemented a mechanism for “caching” pages (saving a page once rendered) so that subsequent access to a page simply gets the rendered page from the cache, rather than spending time creating the rendered page (including the very expensive database access). Some pages are seeing a x10 improvement in load times as a result! This has only been implemented when accessing pages related to species descriptions, aberrations listings and site listings thus far.

The nice thing about this, is that we no longer need to limit the number of images shown on the species pages, so the limit has been “upped” from 4 to 20 (which is what we had originally). I’ve yet to put back the images for the imago, but will tomorrow.

In the time it took me to write this note, 16 pages have been cached and members should see quite a significant improvement in page load times :)

Cheers,

- Pete
Life Cycles of British & Irish Butterflies: http://www.butterflylifecycles.com
British & Irish Butterflies Rarities: http://www.butterflyrarities.com
Post Reply

Return to “Website Comments”