Apache configuration and caching

Hal Burgiss hal at burgiss.net
Tue Oct 6 10:23:01 UTC 2009


On Sat, Sep 26, 2009 at 4:09 PM, Hal Burgiss <hal at burgiss.net> wrote:
> Is this list a good place to troubleshoot Apache configuration problems?
>
> If not, somebody point me to a better list. The apache's user support list is
> a black hole.
>
> In any case, I have 2 servers (one is CentOS and Ubuntu 8.04), running very
> similarly configured Apache servers. The problem is with the Expires headers
> and caching of css and js content. The same syntax forces browser caching
> of all imgs, css and js on the CentOS server, but on the Ubuntu server only
> the images are cached. All css and js requests are fetched reptitively as
> fresh copies (according to Firebug and Google Page Speed). This is consistent.
> What I have is essentially ...

Just for the record, what "fixes" the problem for me is explicitly specifying:

 FileEtag None

There is something not quite right with Etags wrt to js and css,
possibly in combination with Deflate or other Apache modules.

-- 
Hal




More information about the ubuntu-server mailing list