I'm using external filters to minify javascript and CSS files as they
head out of the server. The minifier takes a good 500ms to run,
causing serious drag. So I put Squid in front of the server and
configured it as a caching proxy. The problem is, the filters are
running even on "304 Not Modified" responses, meaning there isn't
actually any content to minify.

So I want to be able to configure whether or not the filter is used
based on the response code. Is this possible? Alternatively, if I can
access the response code in the ext filter (as an env var or command
line parameter, for instance), then I can make the decision there.

Any help would be really great.
Thanks,
-Brian

-- 
Feel free to contact me using PGP Encryption:
Key Id: 0x3AA70848
Available from: http://keys.gnupg.net

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to