kiat has asked for the wisdom of the Perl Monks concerning the following question:
Hi monks,
I'm new to the idea of caching and I'm wondering how many ways there are to cache web pages.
I've a listing of forum topics that's generated dynamically. I understand that doing so can put considerable strain on the server especially during peak hours.
I'm thinking of saving the listing to a text file whenever a new post is made. Then, when the page with the listing is requested, the static text file that has been updated with the latest post is served, possibly via an INCLUDE_TMPL directive.
Is that caching? Is there a better way to do it?
Thanks in anticipation :)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Ways of caching
by dws (Chancellor) on Jul 04, 2004 at 15:46 UTC | |
by kiat (Vicar) on Jul 05, 2004 at 14:45 UTC | |
Re: Ways of caching
by dfaure (Chaplain) on Jul 04, 2004 at 15:50 UTC | |
Re: Ways of caching
by tachyon (Chancellor) on Jul 05, 2004 at 06:11 UTC | |
by kiat (Vicar) on Jul 05, 2004 at 14:53 UTC | |
Re: Ways of caching
by tomhukins (Curate) on Jul 05, 2004 at 12:03 UTC | |
Re: Ways of caching
by relax99 (Monk) on Jul 06, 2004 at 12:59 UTC | |
by kiat (Vicar) on Jul 07, 2004 at 11:53 UTC |
Back to
Seekers of Perl Wisdom