Re: topic query count in alpha 1.0 – any progress?
I believe I have a simple but highly effective fix.
Since the vast majority of forum traffic is for non-logged in user AND, since the only time a forum page changes is if a POST is made … why not implement a very basic disk caching system that does the following pseudo code:
// Front page
if (not logged in)
…….. serve disk cache
…………….if (disk cache not present)
……………………generate page and save to disk
else
……..generate page (PHP)
// Topic page
if (not logged in)
……..serve disk cache
……..if (disk cache not present)
…………….generate page and save to disk
else
……..generate page (PHP)
// post a comment function
delete Topic cache for non-logged in users
delete Front page cache for non-logged in users
The benefit being, now for any non-logged in user – the Front page and individual Topic pages will be cached once some submits a new comment.
And if you are logged in, non of this effects you.