How to tell Firefox to load my page from server each time - html

I'm writing a simple web page that shows the status of my server, and therefore must always be loaded from the server, and not from the cache.
How do I make it happen? I've tried
<head>
<meta http-equiv="expires" content="0">
<title>status</title>
</head>
But it only works with Chrome. Any ideas about Firefox?

Have you tried:
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
This has worked for me in the past to resolve Firefox caching issues.
Source: http://www.i18nguy.com/markup/metatags.html

Related

clearing redirect cache from a different location for Chrome

How do you tell the Chrome Browser to not use the cached version of your site when it is redirected from a different location?
We have site www.example.com which has the normal cache busting techniques meta tags and adding ?a=b in your file and http calls however.
<meta http-equiv="cache-control" content="max-age=0"/>
<meta http-equiv="cache-control" content="no-cache"/>
<meta http-equiv="expires" content="0"/>
<script src="src/app.js?v=3.21.54"></script>
You update your code and all the customers get the new not the old, this works great!
Then SharePoint happened...
Your company got SharePoint which has a link to your site www.example.com but you found something odd happening Chrome uses cache when it is being redirected. Now with your bustfu failing what does one do?

WebMatrix shows old page still

I am using Microsoft webmatrix to do some HTML coding. But even though I changed contents of my HTML, the browser is still showing my old page.
Please see screenshots. I even tried restarting webmatrix, but still old page is shown.
Still shows old page:
Why? I clicked save all too.
The content of the page is being cached by your browser.
If you want to prevent this behaviour add the following to your <head> section:
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="expires" content="-1">

Force website cache update

my website is not refreshing when you visit it again, even if i did updates.
I'm using the
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
but seems really not working, expecially with Chrome. Any helps with it?
Thank you very much

doxygen page expire time

When I regenerate the documentation with doxygen (1.8.7) and upload it to the webserver, I always get re-served the same pages as before the upload.
I've tried Ctrl-F5 (FireFox), I've also tried putting the following meta in src/header.html and recompiling doxygen:
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="-1">
I've also tried using the .htaccess file to control the cache. Unfortunately, I always get served stale html pages.
What am I missing to totally deactivate the cache for doxygen generated html?

how to clear html cache

I had a website which has some html files and they are always getting cached in browser. I added below lines but not working as expected
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="-1">
I tested in internet explorer 9 by enabling cache-> always refresh from server option and then it's fetching fresh copy of html from server but in other browser's like chrome and opera it's caching every time. Please let me know how to prevent this cache issue.
Regards,
Sukumar
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
<META HTTP-EQUIV="EXPIRES" CONTENT="-1">
Check http://support.microsoft.com/kb/234067