Forums Register Login

Cache headers in the response object having repeated attributes

+Pie Number of slices to send: Send
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
If you live in a cold climate and on the grid, incandescent light can use less energy than LED. Tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 745 times.
Similar Threads
Making a page expire
how to prevent caching
I need to cache a page
Page Expiry
request's no-cache vs response's no-cache
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 08:56:57.