Re: caching CGI Scripts

From: Mark C Nottingham <mnot@dont-contact.us>
Date: Wed, 7 Jun 2000 13:28:54 -0700

Try reading:
  http://www.mnot.net/cache_docs/
and try the cacheability engine referenced there on your objects.

<meta> tags won't do any good (and that's not the right format anyway).

On Wed, Jun 07, 2000 at 05:48:46PM +0200, Felix Enning wrote:
> > "R.Ilker Gokhan" wrote:
>
> > i'm not sure but i guess database connections prevent caching.
> >
>
> Normaly you are right. But in our special case, it would be ok to cache
> the results.
> By the way. I found solutions to my problem.
>
> 1.) Something like this in squid.conf:
> refresh_pattern . 5 20% 4320
> will keep even the cgi's cached for 5 Minutes.
>
> or
>
> 2.) Print out a <meta http-equiv="expires" content="300"> in the script
> seems to do the same.
>
> I'm really not to sure, WHAT I do here. I looks ok for me.... And a
> completely dynamic (and quite slow) site is fast like hell... And still
> dynamic enough. When the contents of a webpage changes 5 minutes later,
> than the contents of the DB (which builds the page), this is ok for me
> (and our customers)
>
> Cheers, Felix
>
>
>
> --
> Felix Enning Tel.: 0221 92 12 60 32
> Softwareentwickler Hohenzollernring 103 http://www.dimedis.de
> dimedis GmbH 50672 Koeln mailto:Felix.Enning@dimedis.de
> supporting http://www.hausfrauenseite.de ;-)

-- 
Mark Nottingham, Senior Developer
Akamai Technologies (San Mateo, CA)
Received on Wed Jun 07 2000 - 14:31:55 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:53:57 MST