I'm having some little success with my news/weblog script, and was thinking about giving it one advantage of flat-files driven script: already generated files.
I would go for a cache system that would check for the last time the weblog has been updated, and if that's more recently than the cached file, serve the page and rebuild the file. Of course searches and things that use the querystring would always be dynamically generated.
Now I have two questions:
1/ How to check if the querystring is empty ?
2/ How would you go about implementing such a system ?