HTTP cache !!!! find out the problem when i back hostel …. WTF …..
The XML is served with no mime type by your web server. It should
have a mime type “text/xml”. Configure your server to associate “.xml”
files with the correct mime, or, if you generate the XML dynamically,
use a directive to set the mime type.
for PHP:
1 2 |
header("Content-Type: text/xml"); header("Cache-Control: no-store, no-cache, must-revalidate"); |
for JSP:
1 2 |
response.setHeader("Cache-Control","no-cache"); ... body of code here ... |