How to force reload a XML / HTML files on server

How you wish the browser not to cache the configuration file inside an XML file.

adding the following to /etc/httpd/conf/httpd.conf
would help a bit.

# For XML
# Force reload
<FilesMatch "\.(xml|html)$">
Header set Cache-Control "max-age=60, public, must-revalidate"
Header set Expires "Thu, 15 Apr 2010 20:00:00 GMT"
</FilesMatch>

Get Free Email Updates!

Signup now and receive an email once I publish new content.

I will never give away, trade or sell your email address. You can unsubscribe at any time.

Like

Related Post

Anything to add?

X