n8w Posted March 3, 2007 Share Posted March 3, 2007 I want to create caching for my site is there a way I can check to see if a page (url) has been requested with in the last hour .. and if it has pull the page out of cache .. and if not .. process the page and create a cache file for it and then serve the cache page for all future users? Link to comment https://forums.phpfreaks.com/topic/40956-is-there-a-way-to-do/ Share on other sites More sharing options...
JasonLewis Posted March 3, 2007 Share Posted March 3, 2007 correct me if i'm wrong but dont the users have to have loaded the page already and cached it before they can call the cached page. Link to comment https://forums.phpfreaks.com/topic/40956-is-there-a-way-to-do/#findComment-198466 Share on other sites More sharing options...
wildteen88 Posted March 3, 2007 Share Posted March 3, 2007 Have a look at this tutorial. This shows you how to build a caching system. It does what you are describing in your post. Link to comment https://forums.phpfreaks.com/topic/40956-is-there-a-way-to-do/#findComment-198483 Share on other sites More sharing options...
n8w Posted March 3, 2007 Author Share Posted March 3, 2007 hey thanks wildteen88 .. this is perfect Link to comment https://forums.phpfreaks.com/topic/40956-is-there-a-way-to-do/#findComment-198699 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.