Tomcat: Cache-Control

前端 未结 6 712
悲哀的现实
悲哀的现实 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:57

    There actually are several elements in the Tomcat configuration which directly affect this. See documentation at http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html for example.

    Atlassian recommends the following two statements to ENABLE browser-side caching so that Microsoft Internet Explorer will be able to correctly download and view attached documents:

    
    
    

提交回复
热议问题