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



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

Have Programming Question? Ask it here!
 
 
 


Victor
how can clear the browser cache memory using java script
2 Answer(s)      3 years and 8 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
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
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
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
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
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
Multiple buttons in struts using java script
Multiple buttons in struts using java script  Multiple buttons in struts using java script
How to clear dos screen just like cls in dos - Java Beginners
How to clear dos screen just like cls in dos  You said we have to write bat bile. so every time i have to call that file in my java program am i right... can you please post a sample code for this... bcoz so many people
How i can send testing mail on my id using java?
How i can send testing mail on my id using java?  Which packages i should use to implementing java mail service??? Thanks
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
how to disable browser back button
how to disable browser back button  Am doing a web application in that how to disable browser back button using java script
opening new browser with new JSESSIONID using java
opening new browser with new JSESSIONID using java  I am facing following problem, I am trying to open a new browser using java. First i have opened one IE browser and manually. And i ran my LaunchURL.java file, it is opening new
How can i draw a line using java swings
How can i draw a line using java swings  Sir my program contains different components i am using JFrame. I want to draw a straight line between components(Jtextfeilds, Jlabels).So could you help me for it. Thank You
How can i draw a line using java swings
How can i draw a line using java swings  Sir my program contains different components i am using JFrame. I want to draw a straight line between components(Jtextfeilds, Jlabels).So could you help me for it. Thank You
How to Collapse Dropdowns on mouseclick on scrollbar in Safari Browser using javascript
How to Collapse Dropdowns on mouseclick on scrollbar in Safari Browser using javascript  How to Collapse Dropdowns on mouseclick on scrollbar in Safari Browser using javascript
Java memory allocation
Java memory allocation  How does Java allocate stack and heap memory
Hit Counter Schema using java script - WebSevices
Hit Counter Schema using java script   Dear Sir, I am sending you none project i need you help please tell me how to do it? first I have... page visits per unique session. Since visitor IP can be randomly assigned IP from
Java memory leak
Java memory leak  What is memory leak
how can i draw a table using applet or swings - Java Beginners
how can i draw a table using applet or swings  Hi RoseIndia, Actually, I was trying for creating a table using applet or swings.......... My task is create a table and enter the integer values during run time......I have
How to retrive database information using servlet and disply in table format in browser
How to retrive database information using servlet and disply in table format in browser  Hi, any one send code how to retrive the data base information in table format in web browser
how to create and use cache in j2me? - MobileApplications
how to create and use cache in j2me?  Hi everyone, I am a student in Viet Nam! I am coding project j2me using caching but what by I do not begin, please hepl me!  Hi Friend, Please visit the following link: http
Creating a memory leak with Java
Creating a memory leak with Java  Creating a memory leak with Java
java script
java script  Hi, Any one please tell me how, to store below elements in an array using java script 12,13,14,a,b,xyz
How to Install Alternative PHP Cache (APC)?
in cache. In this tutorial I will explain you how you can download... - APC (Alternative PHP Cache) module for PHP 5 You can install APC using... of PECL Now we will learn how to install using the PECL. You can install APC
Java Script
Java Script  why we are using java script
Java script
Java script  Source code for capturing the screen using Java Script
 

 

 

DMCA.com