<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>All1 Source technologies &#187; cache</title>
	<atom:link href="http://www.all1sourcetech.com/tag/cache/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.all1sourcetech.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Wed, 23 Nov 2011 12:26:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How do you clear the browser cache in jsp?</title>
		<link>http://www.all1sourcetech.com/clear-browser-cache-jsp/</link>
		<comments>http://www.all1sourcetech.com/clear-browser-cache-jsp/#comments</comments>
		<pubDate>Thu, 18 Feb 2010 09:23:52 +0000</pubDate>
		<dc:creator>Naggie</dc:creator>
				<category><![CDATA[Sun Technology]]></category>
		<category><![CDATA[.jsp page]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[clearing the cache]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[jsp]]></category>
		<category><![CDATA[scriptlet]]></category>

		<guid isPermaLink="false">http://www.all1sourcetech.com/?p=849</guid>
		<description><![CDATA[Often referred to as the cache, the Temporary Internet Files folder contains a kind of travel record of the items you have seen, heard, or downloaded from the Web, including images, sounds, Web pages, even cookies. Typically these items are stored in the Temporary Internet Files folder.
Storing these files in your cache can make browsing [...]]]></description>
			<content:encoded><![CDATA[<p>Often referred to as the cache, the Temporary Internet Files folder contains a kind of travel record of the items you have seen, heard, or downloaded from the Web, including images, sounds, Web pages, even cookies. Typically these items are stored in the Temporary Internet Files folder.</p>
<p>Storing these files in your cache can make browsing the Web faster because it usually takes your computer less time to display a Web page when it can call up some of the page&#8217;s elements or even the entire page from your local Temporary Internet Files folder.</p>
<p>All those files stored in your cache take up space, so from time to time, you may want to clear out the files stored in your cache to free up some space on your computer. This is called <a title="clearing the cache" href="http://www.all1Press.com" target="_blank">clearing the cache</a>.</p>
<p>You have to implement the following code at top of the .jsp page.</p>
<p>You will need to set the appropriate HTTP header attributes to prevent the dynamic content output by the<a title="JSP" href="http://www.all1Press.com" target="_blank"> JSP</a> page from being cached by the browser.</p>
<p>Just<span style="color: #993366;"> </span><strong><span style="color: #993366;">execute the following scriptlet at the beginning of your JSP pages</span> </strong>to prevent them from being cached at the browser. You need both the statements to take care of some of the older browser versions.</p>
<p><strong>&lt;% response.setHeader(&#8221;Cache-Control&#8221;,&#8221;no-cache&#8221;); //HTTP 1.1</strong></p>
<p><strong>response.setHeader(&#8221;Pragma&#8221;,&#8221;no-cache&#8221;); //HTTP 1.0</strong></p>
<p><strong>response.setDateHeader (&#8221;Expires&#8221;, 0); //prevents caching at the proxy server %&gt;</strong></p>
<p><a title="JSP" href="http://www.all1Press.com" target="_blank"></p>
<input id="gwProxy" type="hidden" />
<input id="jsProxy" onclick="jsCall();" type="hidden" /></a></p>
<p><a href="http://www.all1sourcetech.com" target="_blank">http://www.all1sourcetech.com</a></p>
<p><a href="http://www.all1martpro.com" target="_blank">http://www.all1martpro.com</a></p>
<input id="gwProxy" type="hidden" />
<input id="jsProxy" onclick="jsCall();" type="hidden" />
]]></content:encoded>
			<wfw:commentRss>http://www.all1sourcetech.com/clear-browser-cache-jsp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

