hello how are you today i have a problem with cache when i visit my site i saw the old topic of my site until i hit ctl+f5 to update the page so how ca i solve this problem is there any way to prevent browser store cache

i have used these meta

<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="no-cache">
<meta http-equiv="Expires" content="-1">
<meta http-equiv="Cache-Control" content="no-cache">

but same result

Recommended Answers

All 2 Replies

I don't have a specific answer for you but you may want to look at this document about caching (including options and issues). As a general rule, you don't want to force your whole site to be reloaded every time because there are probably significant parts that don't change very often. Caches are used to speed everything up, including the loading of your site. There are strategies available for forcing specific parts to be reloaded, so some version of that may work for you.

Member Avatar for LastMitch

how can i clear browser's cache

This question is more in Web Design, HTML and CSSsection than in PHP section. If you have anymore question about this issue then post this question there.

Read this:

http://clearyourcache.com/

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.