简体   繁体   中英

Default cache headers for tomcat?

I am using tomcat 7. When any page/JS file is served I see below headers getting set on browser net panel. Nowhere in code I am setting them.

    "Cache-Control", "no-cache, no-store"
    "Pragma", "no-cache"

Does tomcat set them by default or something else is playing magic here ?

These are the default values considered by the browser. Service can override these response header values

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM