Title: Avoid caching
Last modified: August 18, 2016

---

# Avoid caching

 *  [mcloloe](https://wordpress.org/support/users/mcloloe/)
 * (@mcloloe)
 * [21 years ago](https://wordpress.org/support/topic/avoid-caching/)
 * Dear everybody, I know caching has been a prominent issue within the community,
   but searching the forums gave me no answer, neither did the codex, so here we
   go:
 * Using Firefox, I come across out-dated sites surfing my site with computers I
   have used before. I am just sitting in front of a machine I hadn’t used in a 
   week, and accessing my webpage initially returned the site as I saw it last on
   this machine.
 * Now I am of course aware of Firefox caching approach and CRTL+F5 or CRTL+SHIFT
   +R for refreshing – but this cannot be a solution, can it? I can hardly post 
   a sticky note on my site: Dear User, please refresh your browser everytime you
   get here. That’s silly.
 * Is there a solution by which I can force the browser from my end of the story
   to check for refreshed information automatically, no matter what the user has
   or has not configured?
 * Thanks for thinking about this.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [rustindy](https://wordpress.org/support/users/rustindy/)
 * (@rustindy)
 * [21 years ago](https://wordpress.org/support/topic/avoid-caching/#post-206739)
 * There is a “no-cache” meta tag you can put in your HEAD section, and that’s *
   supposed* to prevent browsers from caching the page. But it’s up to the browser
   to support it and listen to it. I think most do.
 * Or I could be thinking of something else and be completely wrong.
 * Anyways, the code is:
 * `<meta http-equiv="pragma" content="no-cache" />`
 *  Thread Starter [mcloloe](https://wordpress.org/support/users/mcloloe/)
 * (@mcloloe)
 * [21 years ago](https://wordpress.org/support/topic/avoid-caching/#post-206741)
 * RustIndy, thx for that – it put me on the right track.
 * <meta http-equiv=”pragma” content=”no-cache”>
    tells proxy agents not to cache
   the site
 * <meta http-equiv=”expires” content=”0″>
    tells both proxy servers and browsers
   to always load the site from its original source
 * <meta http-equiv=”cache-control” content=”no-cache”>
    is browser-related and 
   tells whatever browser to forget about the cache and load the page from scratch
 * What I am wondering about is two things:
 * a) Which (combination) of these makes sense to be used?
 * b) Is there a way to do this context-related, i.e. only if the page has indeed
   been renewed, it’s reloaded?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Avoid caching’ is closed to new replies.

## Tags

 * [cache](https://wordpress.org/support/topic-tag/cache/)
 * [caching](https://wordpress.org/support/topic-tag/caching/)
 * [force](https://wordpress.org/support/topic-tag/force/)
 * [reloading](https://wordpress.org/support/topic-tag/reloading/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [mcloloe](https://wordpress.org/support/users/mcloloe/)
 * Last activity: [21 years ago](https://wordpress.org/support/topic/avoid-caching/#post-206741)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
