0 Replies Latest reply on Mar 3, 2010 7:03 AM by karin k

    Pre-compression of static files

    karin k Newbie

      Hi all


      I have heard that IIS has the feature to pre-compress static files (based on specific file types or url patterns).

      Meaning if a client requests a static file (and have the ACCEPT-ENCODING header set to gzip, deflate), and the url matches a specific configurable pattern, IIS will look, if

      that static files lies somewhere in compressed form. If not, the client will receive back the answer in an un-compressed way but in parallel IIS will

      compress the file and put it somewhere in a cache. Next time a client will request that static file, IIS will serve it in compressed way from that cache.


      Is there any comparable feature inside Tomcat 5 or 6.


      Thanks for your help in advance