in reply to Improving performance by generating a static html file?

The idea here is to cut down on a cpu power and so forth, as sending back a simple html file has to be less cpu intensive then running a perl script. Any ideas on how/why i could or could not do this? It was suggested i try generating the html file when it was modified?

Generating static HTML can be a big win for a high-traffic site that gets many more hits than it does updates.

For a very elegant example of how to generate a static site from dynamic content, download and examine Moveable Type, which is a blogging package written in Perl (by btrott). It builds a static site on demand whenever dynamic content is published.

  • Comment on Re: Improving performance by generating a static html file?