Re: Compression

Jay Sprenkle <[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
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:
http://www.squid-cache.org/



On Mon, Mar 2, 2009 at 11:32 AM, Eddie Carle <eddie-NBZbi/[email protected]> 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?
> --

_______________________________________________
FastCGI-developers mailing list
FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org
http://mailman.pins.net/mailman/listinfo.cgi/fastcgi-developers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.