• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Cache headers in the response object having repeated attributes

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I am facing some issues related to Cache header in ther response object.. In the response object the cache header attributes are getting repeated and i am not sure why it is happening and what is the impact of it.

HTTP/1.1 304 Use local copy
Server: Sun-Java-System-Web-Server/7.0
Date: Tue, 28 Aug 2012 18:26:50 GMT
Cache-control: private,max-age=1200
Cache-Control: max-age=604800
X-Powered-By: Servlet/2.5 JSP/2.1

in the above max-age attribute is getting repeated.. Could somebody guide me why it is getting repeated and which will be getting the validity.. whether max-age 1200 or max-age 604800
 
She'll be back. I'm just gonna wait here. With this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic