Disable cache in specific domains?

Is there a way to disable cache for specific domains? For example, at any time when I start creating a new website, can I only block this domain from caching? I would prefer the rest of the Internet to be cached.

I am currently using the Firefox Web Developer Toolbar addon to disable the cache, are there any improved plugins?

+8
firefox addon
source share
3 answers

You can send specific headers from your web application to prevent browser caching. You can send these headers only to your ip or browsers where a certain cookie is set.

Return these headers to prevent your browser from caching:

Cache-Control: no-cache, must-revalidate Expires: Sat, 26 Jul 1997 05:00:00 GMT 

Expires should be a date in the past.

+2
source share

Charles Web Debugging Profiles is a good way to disable cache for specific domains. Just go to the Tools menu, then select No Caching. A window will open in which you can specify in which places you can prevent caching.

Charles is a proxy server, so you can use it to control caching in all browsers - Firefox, Chrome, IE, no matter what you use!

+2
source share

The built-in Firefox Developer Tool has features that enable you to disable the tab cache where this toolbox is open.

Firefox Developer Tools Settings

Disable cache: disable the browser cache to simulate the performance of the first boot. Starting with Firefox 33, this option is saved, which means that if it is installed, caching will be disabled every time you open devtools. Caching is turned on again when devtools is closed.

https://developer.mozilla.org/en-US/docs/Tools/Tools_Toolbox

Unfortunately this is not for the domain, but maybe it is better than the toolbar of web developers.

+2
source share

All Articles