Tomcat: Cache-Control

前端 未结 6 711
悲哀的现实
悲哀的现实 2020-11-30 19:19

Jetty has a CacheControl parameter (can be specified webdefault.xml) that determines the caching behavior of clients (by affecting headers sent to clients).

Does Tom

6条回答
  •  难免孤独
    2020-11-30 19:59

    may be this what you are looking for :

    http://tomcat.apache.org/tomcat-6.0-doc/config/context.html#Context%20Parameters

        cachingAllowed : If the value of this flag is true, the cache for static
    
     resources will be used. If not specified, the default value of the flag is true.
    

    Also delete the application cache folder in /work/Catalina/localhost after changing this flag.

提交回复
热议问题