httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ed Korthof>
Subject Re: CGI output caching
Date Mon, 26 Jan 1998 23:35:27 GMT
Another way to achieve this effect would be to serve static HTML which is
generated from CGIs or other scripts when appropriate.  That way you can
change the pages when appropriate, but they'll be served up w/o additional

Using .htaccess files and mod_expires, if you know when the files will
expire, you could do this quite effectively.

It's kind of a pain figuring out all the stuff you'd need to do, though.
Stuff like mod_perl, FastCGI, or mod_jserv probably makes more sense...

     -- Ed Korthof        |  Web Server Engineer --
     --    |  Organic Online, Inc --
     -- (415) 278-5676    |  Fax: (415) 284-6891 --

On Mon, 26 Jan 1998, Igor Tatarinov wrote:

> I am talking about caching the output from my server's CGI scripts.
> Yes, I know that proxies can do that but the problem is that when people 
> from different parts of the world (diff ISPs) request data they may 
> be using  different proxies. So, it is more efficient to install a 
> proxy at the Web server site not at the user sites.
> But all this doesn't matter if what Michael said is true: each time a 
> CGI script is called (even with the same parameters) the output will be 
> different, e.g., there will be a timestamp inserted somewhere.
> Is it really so (I have no industrial experience)? 
> if yes most CGI scripts are non-cacheable (expire immediately).
> If no there is still space for improvement since producing the output
> may be costly, e.g. a DB lookup.
> igor

View raw message