Page 1 of 1

Performance Enhancement

Posted: Sun Mar 06, 2016 8:34 pm
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