How to prevent Web pages from Caching on the Client browser?

Posted: 1 October, 2008 in Technical

Today I was confronted by a strange problem which I needed to find a solution to. I needed to prevent a single web page in a web application for caching at the Client’s Browser.

This situation would frequently arise when you have a web page displaying some real time data like Banking information, log-in details, etc.

So I finally found a simple solution to add a single attribute in the web page to help it from NOT caching.

<meta equiv="pragma" content="no-cache">


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s