[FASTCGI] Compression

Jay Sprenkle jsprenkle at gmail.com
Mon Mar 2 12:39:34 EST 2009

I think it depends on how you implement things, which server you use, etc.
If the web server thinks the output is programatically generated it doesn't
know if it needs to be recreated or not so it calls the program.
If it's just reading a file it can check the file system datetime stamp to
determine if the client needs a new copy.
You probably want to look at Squid:

On Mon, Mar 2, 2009 at 11:32 AM, Eddie Carle <eddie at mailforce.net> wrote:

> On Fri, 2009-02-27 at 17:00 -0600, Jay Sprenkle wrote:
> > The browser and the server negotiate what type of compression they
> > will use using HTTP headers. You don't need to implement it at the CGI
> > level unless you're doing something unusual.
> That is good to know. I shall remove that from my todo list. Do you know
> if a lot of the servers will handle caching of their own? Meaning
> they'll actually modify the if-modified-since information being passed
> to the FastCGI program to coincide with a cached version the web-server
> possesses?
> --
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.pins.net/mailman/private.cgi/fastcgi-developers/attachments/20090302/f276214b/attachment.html>

More information about the FastCGI-developers mailing list