Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa JSF-Questions how can clear the browser cache memory using java script
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Victor
how can clear the browser cache memory using java script
2 Answer(s)      3 years and 10 months ago
Posted in : Java Server Faces Questions


how can clear the browser cache memory using java script


Advertisement
View Answers

December 18, 2010 at 5:52 PM


use this code in <head> block
<META HTTP-EQUIV='Pragma' CONTENT='no-cache'">
<META HTTP-EQUIV="Expires" CONTENT="-1">



January 25, 2011 at 12:04 PM


the question is how can one clear the browser cache.. and not how can one prevent page from caching...

you cannot clear cache using any client side scripting language. if there is anyway you can do it, that's a violation of standard security measures.

Regards,
Darshan Shroff



Related Tutorials/Questions & Answers:
how can clear the browser cache memory using java script
how can clear the browser cache memory using java script  how can clear the browser cache memory using java script
browser cache
browser cache  how can we clear browser cache
Advertisements
Clear UIWebView cache iPhone
Clear UIWebView cache iPhone  Hi, In my iPhone application ..i am using a UIWebView to load different URL on it. But i am afraid that it 's not releasing the memory. Can anyone please explain me how to load and release
Browser Back Button Disable/Hide/Invisible using Java Script
Browser Back Button Disable/Hide/Invisible using Java Script  Dear Sir, Please Help..., Q: How to Write Code For Browser Back Button Disable/Hide/Invisible using Java Script without Page Reload/Refreshing. anyone
How can I execute a PHP script using command line?
How can I execute a PHP script using command line?  How can I execute a PHP script using command line
How to clean a buffer using clear method in java.
How to clean a buffer using clear method in java.      ...: C:\>java ByteBufferClear Before clear method data in buffer..., we will discuss the use of clear() method. The Buffer class is a 
Cache creation using java - Java Beginners
Cache creation using java  Hi All, I am developing a web application, I have a plan to use cache in that application. I used jsp caching.... how can I resolve my problem. Thanks in Advance mln15584
Script on the page used too much memory. Reload to enable script again.
Script on the page used too much memory. Reload to enable script again.  Using a java script to generate the dynamic report. If page open the full screen mode browser show the "Script on the page used too much memory. Reload
how can i make a session invalidate in java when browser is closed
how can i make a session invalidate in java when browser is closed   how can i make a session invalidate in java when browser is closed   ... same userid can not login at multiple browsers/machines. if any user is using
yum clear cache
yum clear cache In this tutorial I will tell you how you can delete the cached... the package using yum tool you can delete the packages held in cache. In this tutorial we learned how to you clean cache using yum tool
how to clear dos screen in java - Java Beginners
how to clear dos screen in java   how to clear dos screen in java
How to clear Dos screen in java? - Java Beginners
How to clear Dos screen in java?  How to clear Dos screen in java? Is there any way to clear the dos screen in windows platform just like "cls" in dos and clrscr in c,  Hi Friend, You can create a batch file
How to clear Dos screen in java? - Java Beginners
How to clear Dos screen in java?  How to clear Dos screen in java? Is there any way to clear the dos screen in windows platform just like "cls" in dos and clrscr in c
Java Get Memory
Java Get Memory       In this section of Java Example, you will see how to get the memory... can easily learn it. In this Java Get Memory Size example, we have created
what is the java cache system?
what is the java cache system?  To send the webapplication of java cache system
How to clear a float buffer in java.
How to clear a float buffer in java. In this tutorial, we will  see how to clear a float buffer in java. ByteBuffer API: The java.nio.FloatBuffer class... C:\>java FloatBufferClear Before clear method data in buffer
How to clear int buffer in java.
How to clear int buffer in java. In this tutorial, we will discuss how to clear int buffer in java.          ... final Buffer clear() The clear() method clear the buffer. 
how can create album in java by using Stack ....
how can create album in java by using Stack ....  hi all , if i press push button put the image to the stack , and when i press pop button remove the image ..??? please help me please
How to clear a Dos Window? - Java Beginners
How to clear a Dos Window?  problem with the following code... without exiting from the second window...I don't want to open two windows...how... Put the 'cls' command in your batch file(ab.bat) and call it by using
barcode reader using java script
barcode reader using java script  Hai all, I need code for one application in java and java script my requirement is, Scanning data directly... as if it had been typed from the keyboard. can any one help me? Regards, Divya
How many ways we can give the output to a browser?
How many ways we can give the output to a browser?  How many ways we can give the output to a browser
Without Using Form in Java Script
Without Using Form in Java Script  HOw to Reset the data in javascript without using form tag
ShortBuffer in java, Clean a short buffer by using clear method.
Clean a short buffer by using clear method. In this tutorial, we will discuss how to clean a short buffer by using clear method. ShortBuffer API...: Return type Method Description final Buffer clear
How can we increase the execution time of a php script?
How can we increase the execution time of a php script?  How can we increase the execution time of a php script
can a volatile memory loss data on power cut
can a volatile memory loss data on power cut  Can a volatile memory loss ache and main memory content on power cut?   In Volatile, Cache and main memory will lose their contents when the power is off
php browser detection script - PHP
php browser detection script   I need a browser detection script in PHP. I am creating my application compatible to firefor, mozila and IE too
java cache management - Development process
java cache management  I have written a code in cache management... it is appending the results of others.I feel that if i change the cache management to handle concurrent user environment.i can overcome from this problem
cache creation in java - Java Beginners
cache creation in java  Hi All, I am planing to create cache in my web application. please send me the some sample code to create cache by using org.apache.oro.utils package. please help me out. Thanks, mln15584
Java Script
Java Script  What is Java Script? How to learn Java Script?   Hi Java Script is client side programming language. It runs on browser.... You can learn Java Script from our JavaScript - JavaScript Tutorial pages
how can i achieve multiple inheritance in java without using inheritance ?
how can i achieve multiple inheritance in java without using inheritance ?  how can i achieve multiple inheritance in java without using inheritance
Java memory optimization
, You can use memory dump and then analyze it to find the process/java code in your program which is using large amount of memory. Ideally java should garbage...Java memory optimization  When you think about optimization, what
Advertisements
 

 

 

DMCA.com