[Feedback Requested] Simple Caching model – HIGHLY EFFECTIVE
- 
		I believe I have a simple but highly effective fix. Since the vast majority of forum traffic is for non-logged in users 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 caches the content for the FrontPage and Topic page for non-logged in users. Here is the pseudo code: // Front page 
 if (not logged in) …….. serve disk cache …………….if (disk cache not present) ……………………generate page and save to disk else (logged in user) ……..generate page (PHP) // Topic page 
 if (not logged in) ……..serve disk cache ……..if (disk cache not present) …………….generate page and save to disk else (logged in user) ……..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. Thoughts? 
- You must be logged in to reply to this topic.
