On 10/06/07, Chih Chao Lam <[EMAIL PROTECTED]> wrote: > Thanks for the link. However, does mod_deflate cache the files it > compresses? For static files, would it be compressing over and over, perhaps > hundreds of times per second? Is there a way to avoid this?
mod_deflate doesn't save the compressed response to requests for static files. "the unix way" to do this would be to periodically run find/gzip instead and allow mod_mime & mod_negotiation to serve the gzipped alternative file (AddEncoding & Options MultiViews iirc). Alternatively, mod_cache will do the job too, as long as you tell apache what expiries (mod_expires) are valid for your static content. Doing the latter is good practice anyway as it'll offload some requests for clients that don't support compression. -- noodl _______________________________________________ Mongrel-users mailing list Mongrel-users@rubyforge.org http://rubyforge.org/mailman/listinfo/mongrel-users