tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jesse Farinacci <jie...@gmail.com>
Subject serving pre-compressed files
Date Wed, 08 Jun 2011 15:03:27 GMT
Greetings,

I'm using Tomcat 7.0.14 and IBM Java 6. As part of my web
application's bundling mechanism (via Maven) I have the ability to
pre-gzip compress static resources. I'd like Tomcat to detect that a
request for /path/to/resource has /path/to/resource.gz available, and
serve the gzip'd content instead, if the user agent supports it.

Is there anything like this available? If not, what suggestions do you
have? Thanks,

-Jesse

-- 
There are 10 types of people in this world, those
that can read binary and those that can not.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message