3

How to avoid website loading from cache if i have done changes in html or css file.

While browsing i gone through this question How to avoid browser caching issues by renaming css file

But it give solution only for css not for html changes...

Please help me to figure out this issue..

Thanks in advance..

Community
  • 1
  • 1
Monicka Akilan
  • 1,501
  • 5
  • 19
  • 42

1 Answers1

0

This tag should do the trick.

<meta http-equiv="expires" content="0">

This meta tag will set the content expiry as 0, which means browser will hit the server every time a page is requested.

aksappy
  • 3,400
  • 3
  • 23
  • 49