On 9/19/06, Kenneth Gonsalves lawgon@au-kbc.org wrote:
obvious - but the less dynamic content, the more work for the programmer and there is no fun in being a programmer if you have to work
No, you write a script to generate your pages once. As many of them as possible. Then run that script every few minutes. See the way /. works.
ahh, that sounds like fun - so i generate all possible pages in all possible languages and store them - but what about search and query results - do i generate all possible searches and all possible queries in all possible languages and store them too?
Not all possible pages but atleast the most requested ones can be cached based on query string (GET) or POST data of HTTP. There are quite a few websites that do it. A large online US retailer for example stores generated for frequent queries such as "britney spears cds" with a fairly low cache-TTL as such catalogues do not get updated very often. (Catalogues such as these are often updated in weeks and months if not days).
-- Vinayak