Re: caching dynamic pages

Herald van der Breggen <[email protected]>
Newsgroups gmane.network.tux
Message-ID <[email protected]>
> If what you need is serving semi-static output from perl scripts. 
> Then a solution might be to let cron run the scripts every 12 hours,
> and let Tux serve them as static html. No need for advanced solutions
> :)

This might be a good idea if the number of different pages is (far) less
than the number of daily page requests. 

In our case there are more than 200.000 different pages and there are
about 60.000 page requests per day. Besides, the 12 hours I mentioned is
not desirable for all the pages. A big part should should expire after
one hour or so. So running these scripts would take much more resources
than in the current situation.

The solution with a caching mod_proxy is not very difficult, so I would
not consider a periodically batch run too quick.... ;-)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.