Re: hitting the limits
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: hitting the limits

From: windandwaves <winandwaves@coldmail.com>
Date: Sat Apr 29 2006 - 10:44:01 CEST

Rik wrote:
...
> To decrease server-load you could think about a cache system: review
> the dependancies of databasefields for each of your pages, create
> appropriate timestamps with an index in the database if they don't
> exist already, and cache the pages locally as html with a date/time.
> On a request, check wether there is a timestamp in the database
> higher than of your cached html If not, serve the cached file, if so,
> create new cachefile and serve that. Creating of cachefiles should
> offcourse take place automatically on an update of a certain database
> field, but that might be even more work.

Rik, that is a cool idea, would you just place the html in a database or is
there a special chache where pages are kept?
Received on Mon May 1 03:07:17 2006