Refresh Web Page


When running on an apache web server the application is still in cache and therefore not showing the latest version until the page is refreshed by the user. How can I get round this?

I do have a .htaccess file as follows but whilst this works for a normal website it doesn't work for a Web Core app:

ExpiresActive On
ExpiresDefault "access plus 5 seconds"
ExpiresByType image/png "access plus 1 day"
ExpiresByType image/ico "access plus 1 day"
<filesMatch "\\.(html|htm|js|css|php|xml|json)$">
  SetOutputFilter DEFLATE
<filesMatch "\\.(html|htm|php)$">
  Header set Cache-Control "max-age=1, private, must-revalidate"
Header append Cache-Control must-revalidate

Any help would be appreciated.



Please ignore this, I have it working now!