Sunday, 30 December 2018

Delete Web page cache

Many time we edit web page but user browers not showing latest contents due to browers cache.
Just copy this code and paste between <head> given code here </head> section and save your file. You user always show latest content on your web page.

<----code start here --->

<meta http-equiv="cache-control" content="max-age=0" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="expires" content="0" />
<meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" />
<meta http-equiv="pragma" content="no-cache" />

<---- code end here ------->

This code delete all old previous cache for your web page from user browers

No comments:

Post a Comment