in reply to Automatic updates on sites.

How frequent are the updates? Perhaps you could run a cron job every hour (or whatever is appropriate) which creates a new set of HTML files. That way, your visitors only ever see static HTML files which will make the site faster for them.

Another option might be for the process which changes the information that you are displaying to regenerate the HTML files once it has finished the update.

I'd recommend looking at the Template Toolkit to handle the template expansion.

--
<http://www.dave.org.uk>

European Perl Conference - Sept 22/24 2000, ICA, London
<http://www.yapc.org/Europe/>

Replies are listed 'Best First'.
RE: Re: Automatic updates on sites.
by damian (Beadle) on Jul 12, 2000 at 07:35 UTC
    hi fella monk, actually some of the sites will be updated daily and some are hourly. and yes i'm planning to run cronjobs so that server load will be much lighter. as much as possible i don't want to embbed perl within html files, i have templates separated on a file and the perl script will just replace the original html tags with tags on my template. as much as possible embbeding perl within html files will have a heavy server load especially if you have so many parts of the page updated. thanks again fella monk.