Welcome to WebmasterWorld Guest from 107.20.104.161

Forum Moderators: phranque

Message Too Old, No Replies

Caching Dynamic Pages

revisiting the issue

     

wingslevel

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

10+ Year Member



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...

jpjones

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

10+ Year Member



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?

JP

phranque

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



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

Featured Threads

Hot Threads This Week

Hot Threads This Month