Welcome to WebmasterWorld Guest from

Forum Moderators: phranque

Message Too Old, No Replies

Caching Dynamic Pages

revisiting the issue

1:13 pm on Dec 4, 2006 (gmt 0)

Preferred Member

10+ Year Member

joined:Sept 7, 2001
votes: 0

Curious of other people's experiences with this.

We have been caching our dynamic pages for about a year - pros are lightning fast page loads - cons are less fresh content (we update the cache weekly).

it is now taking me 30 hrs just to build the cache pages, which seems a little nuts...

2:07 pm on Dec 4, 2006 (gmt 0)

Full Member

10+ Year Member

joined:Dec 9, 2002
votes: 0

I've always tended to have a cache system where the cached output is built upon the first request for a page.

All subsequent requests for that page are fed from the cache.

This alleviates building up pages which are unlikely to have an access. The downside is that once you've cleaned your cache, for the first X seconds/minutes/hours (depending on how big and how busy your site is), the server will be under increased load.

What coding language is your site written in?
How are you building the cache? Through a separate set of scripts to those which display your page?


2:30 pm on Dec 4, 2006 (gmt 0)


WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Aug 10, 2004
votes: 10

if you are on an apache server i believe mod_cache will do this for you.