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"

Related Post

2 Responses

  1. guest says:

    Hello, I’d rather use killall or
    ps xa|awk ‘/[f]irefox/ {print $1}’|xargs kill -9.

  2. namran says:

    yes .. can use killall too , if you using the default firefox installation.

    but it will not kill the custom firefox which had launched from a custom script like the following ..


    and .. producing list of process as follows :

    [namran@nb-namran ~]$ ps xa |grep firefox
     4626 ?        S      0:00 /bin/sh /home/namran/.bin/firefox
     4630 ?        S      0:00 /bin/sh /usr/local/lib/firefox-3.5.13/ /usr/local/lib/firefox-3.5.13/firefox-bin
     4634 ?        RLl  174:47 /usr/local/lib/firefox-3.5.13/firefox-bin

Leave a Reply

Your email address will not be published. Required fields are marked *