dcsimg
Login | Register   
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.


Tip of the Day
Language: HTML
Expertise: Intermediate
Mar 16, 2004

WEBINAR:

On-Demand

Application Security Testing: An Integral Part of DevOps


Eliminate Data Caching from Your Browser

There are times you don't want your output to be cached on browsers. For instance, when a user is viewing their account balance, you want the data to be retrieved from the server and displayed.

There is a way to inform the browser that it should cache the information so that it requests the information from the server each time, then displays it.

Include the following code segment between the <HEAD> </HEAD> tags in the page:

 
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
This ensures that the data is not cached and, hence, that fresh data is always retrieved from the server before serving the client's request.
Sridhar MS
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
×
We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.
Thanks for your registration, follow us on our social networks to keep up-to-date