Login | Register   
RSS Feed
Download our iPhone app
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 17, 2004



Building the Right Environment to Support AI, Machine Learning and Deep Learning

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.



Thanks for your registration, follow us on our social networks to keep up-to-date