|We don't bite newbies here... much|
Ways of cachingby kiat (Vicar)
|on Jul 04, 2004 at 15:25 UTC||Need Help??|
kiat has asked for the wisdom of the Perl Monks concerning the following question:
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 :)