<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Caching in Tomcat &#8211; SOLVED!</title>
	<atom:link href="http://www.symphonious.net/2007/06/19/caching-in-tomcat/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.symphonious.net/2007/06/19/caching-in-tomcat/</link>
	<description>Living in a state of accord.</description>
	<lastBuildDate>Fri, 12 Mar 2010 07:41:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Karthi</title>
		<link>http://www.symphonious.net/2007/06/19/caching-in-tomcat/comment-page-1/#comment-174670</link>
		<dc:creator>Karthi</dc:creator>
		<pubDate>Tue, 09 Mar 2010 11:33:08 +0000</pubDate>
		<guid isPermaLink="false">https://www.symphonious.net/2007/06/19/caching-in-tomcat/#comment-174670</guid>
		<description>@danny: Thanks. The issue is resolved.</description>
		<content:encoded><![CDATA[<p>@danny: Thanks. The issue is resolved.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karthi</title>
		<link>http://www.symphonious.net/2007/06/19/caching-in-tomcat/comment-page-1/#comment-174669</link>
		<dc:creator>Karthi</dc:creator>
		<pubDate>Tue, 09 Mar 2010 05:27:04 +0000</pubDate>
		<guid isPermaLink="false">https://www.symphonious.net/2007/06/19/caching-in-tomcat/#comment-174669</guid>
		<description>Guys,

I am also having the same kind of problem, am using tomcat server for my web application, in that i just want to cache static objects like (images, javascripts, &amp; CSS). how can i do that...

Can anyone give me a working solution....

Your help much appreciated...</description>
		<content:encoded><![CDATA[<p>Guys,</p>
<p>I am also having the same kind of problem, am using tomcat server for my web application, in that i just want to cache static objects like (images, javascripts, &amp; CSS). how can i do that&#8230;</p>
<p>Can anyone give me a working solution&#8230;.</p>
<p>Your help much appreciated&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pawan</title>
		<link>http://www.symphonious.net/2007/06/19/caching-in-tomcat/comment-page-1/#comment-174647</link>
		<dc:creator>Pawan</dc:creator>
		<pubDate>Wed, 24 Feb 2010 09:15:06 +0000</pubDate>
		<guid isPermaLink="false">https://www.symphonious.net/2007/06/19/caching-in-tomcat/#comment-174647</guid>
		<description>Thanks,
My problem get solved, (not opening flash file using SSL)</description>
		<content:encoded><![CDATA[<p>Thanks,<br />
My problem get solved, (not opening flash file using SSL)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gopal</title>
		<link>http://www.symphonious.net/2007/06/19/caching-in-tomcat/comment-page-1/#comment-173896</link>
		<dc:creator>Gopal</dc:creator>
		<pubDate>Sat, 07 Mar 2009 13:46:43 +0000</pubDate>
		<guid isPermaLink="false">https://www.symphonious.net/2007/06/19/caching-in-tomcat/#comment-173896</guid>
		<description>

	MES
    
        CacheFilter
        com.xucia.resourceaccelerate.CacheHeadersFilter
		
			cache-folder &lt;!--  what folder to use for caching compressed file (relative the webapp root directory) --&gt;
			WEB-INF/cache &lt;!--   folder or path --&gt;
		 
		
			expiration-time &lt;!-- how long the resource should stay in the browser cache --&gt;
			86400000 &lt;!-- one day --&gt;
		
	
    
		CompressAndCacheFilter
        com.xucia.resourceaccelerate.CompressAndCacheHeadersFilter
        
        	caching-headers-enabled &lt;!-- sets whether or not caching headers should be enabled--&gt;
        	true &lt;!-- this is true by default, must be set to false to disable --&gt;
        
		
			expiration-time &lt;!-- how long the resource should stay in the browser cache --&gt;
			86400000 &lt;!-- one day --&gt;
		
		
			cached-compressed-data &lt;!-- Specifies if the compressed gzip files should be cached so they don&#039;t have to re-gzipped. This can be turned off for dynamic content, so it doesn&#039;t have to cache --&gt;
			true &lt;!-- true is the default--&gt;
		
	
	
		JSCompressAndCacheFilter
        com.xucia.resourceaccelerate.CompressAndCacheHeadersFilter
		
			expiration-time &lt;!-- how long the resource should stay in the browser cache --&gt;
			86400000 &lt;!-- one day --&gt;
		
		
			shrink-js &lt;!-- setting if the js should be shrinked --&gt;
			false &lt;!-- no js shrinking--&gt;
		
	
	
		&lt;!-- These file types will only have caching headers applied --&gt;   
    
        CacheFilter
        *.gif
    
    
        CacheFilter
        *.jpg
    
    
        CacheFilter
        *.png
    
    
        CacheFilter
        *.jpeg
    

		&lt;!-- These file types will have caching headers and gzip applied --&gt;
    
        CompressAndCacheFilter
        *.html
    
    
        CompressAndCacheFilter
        *.css
    
    
        JSCompressAndCacheFilter
        *.js
    
	
	
	
	
		dispatcher
		org.springframework.web.servlet.DispatcherServlet 
		
			contextClass
			org.springframework.web.context.support.XmlWebApplicationContext
		
		
			contextConfigLocation
			/WEB-INF/server-prod-context.xml /WEB-INF/presentation-prod-context.xml /WEB-INF/presentation-planning-context.xml /WEB-INF/server-planning-context.xml /WEB-INF/server-quality-context.xml /WEB-INF/presentation-quality-context.xml
		
		
		1
	  
	
	SendForSchdDDServlet
	in.jsw.mes.production.servlet.SendForSchdDDServlet
	
	
	
	OrdersServlet
	in.jsw.mes.planning.transactions.servlets.OrdersServlet
	
	
	
	ReductionMasterServlet
	in.jsw.mes.planning.masters.servlets.ReductionMasterServlet
	
	
	
	StartupPossibleValuesServlet
	in.jsw.mes.planning.masters.servlets.StartupPossibleValuesServlet
	
	
	
		HrCoilRcptServlet
		in.jsw.mes.production.servlet.HrCoilRcptServlet
	
	
	
		CPLProductionServlet
		in.jsw.mes.production.servlet.CPLProductionServlet
	
	
		QualityServlet
		in.jsw.mes.quality.servlet.QualityServlet
	
	
		DelayServlet
		in.jsw.mes.production.servlet.DelayServlet
	
	
		DefectServlet
		in.jsw.mes.quality.servlet.DefectServlet
	
	
		
		
		
		surfaceImageDisplay
		surfaceImageDisplay
		
		in.jsw.mes.quality.servlet.surfaceImageDisplay
	
	
		ReductionMasterServlet
		/ReductionMasterServlet
	
	
	
		StartupPossibleValuesServlet
		/StartupPossibleValuesServlet
	
	
	
		dispatcher
		*.ui
	
	
		SendForSchdDDServlet
		/SendForSchdDDServlet
	
	
		OrdersServlet
		/OrdersServlet
	
	
	
		HrCoilRcptServlet
		/HrCoilRcptServlet
	
	
	
		CPLProductionServlet
		/CPLProductionServlet
	
	
	
		QualityServlet
		/QualityServlet
	
	
		DelayServlet
		/DelayServlet
	
	
		DefectServlet
		/DefectServlet
	
	
		surfaceImageDisplay
		/surfaceImageDisplay
	
	
		index.jsp
	
	
	
		
			http://java.sun.com/jsp/jstl/core
			/WEB-INF/tld/jstl-core.tld
		
		
			http://java.sun.com/jsp/jstl/fmt
			/WEB-INF/tld/jstl-fmt.tld
		
		
			http://java.sun.com/jsp/jstl/fn
			/WEB-INF/tld/jstl-fn.tld
		
		
			/spring
			/WEB-INF/tld/spring.tld
		
	
	
		Example Security Constraint
		
			Secured Area
			*.ui
		
		
		&lt;!--  
			friend
		 --&gt;
		
	
	
		FORM
		Secured Application Area
		
			/WEB-INF/jsps/production/transaction/login.jsp
			/WEB-INF/jsps/production/transaction/login.jsp?error=Login+not+successful.+Try again.
		
	
	
	&lt;!-- 
		friend
	 --&gt;
	

</description>
		<content:encoded><![CDATA[<p>MES</p>
<p>        CacheFilter<br />
        com.xucia.resourceaccelerate.CacheHeadersFilter</p>
<p>			cache-folder <!--  what folder to use for caching compressed file (relative the webapp root directory) --><br />
			WEB-INF/cache <!--   folder or path --></p>
<p>			expiration-time <!-- how long the resource should stay in the browser cache --><br />
			86400000 <!-- one day --></p>
<p>		CompressAndCacheFilter<br />
        com.xucia.resourceaccelerate.CompressAndCacheHeadersFilter</p>
<p>        	caching-headers-enabled <!-- sets whether or not caching headers should be enabled--><br />
        	true <!-- this is true by default, must be set to false to disable --></p>
<p>			expiration-time <!-- how long the resource should stay in the browser cache --><br />
			86400000 <!-- one day --></p>
<p>			cached-compressed-data <!-- Specifies if the compressed gzip files should be cached so they don't have to re-gzipped. This can be turned off for dynamic content, so it doesn't have to cache --><br />
			true <!-- true is the default--></p>
<p>		JSCompressAndCacheFilter<br />
        com.xucia.resourceaccelerate.CompressAndCacheHeadersFilter</p>
<p>			expiration-time <!-- how long the resource should stay in the browser cache --><br />
			86400000 <!-- one day --></p>
<p>			shrink-js <!-- setting if the js should be shrinked --><br />
			false <!-- no js shrinking--></p>
<p>		<!-- These file types will only have caching headers applied -->   </p>
<p>        CacheFilter<br />
        *.gif</p>
<p>        CacheFilter<br />
        *.jpg</p>
<p>        CacheFilter<br />
        *.png</p>
<p>        CacheFilter<br />
        *.jpeg</p>
<p>		<!-- These file types will have caching headers and gzip applied --></p>
<p>        CompressAndCacheFilter<br />
        *.html</p>
<p>        CompressAndCacheFilter<br />
        *.css</p>
<p>        JSCompressAndCacheFilter<br />
        *.js</p>
<p>		dispatcher<br />
		org.springframework.web.servlet.DispatcherServlet </p>
<p>			contextClass<br />
			org.springframework.web.context.support.XmlWebApplicationContext</p>
<p>			contextConfigLocation<br />
			/WEB-INF/server-prod-context.xml /WEB-INF/presentation-prod-context.xml /WEB-INF/presentation-planning-context.xml /WEB-INF/server-planning-context.xml /WEB-INF/server-quality-context.xml /WEB-INF/presentation-quality-context.xml</p>
<p>		1</p>
<p>	SendForSchdDDServlet<br />
	in.jsw.mes.production.servlet.SendForSchdDDServlet</p>
<p>	OrdersServlet<br />
	in.jsw.mes.planning.transactions.servlets.OrdersServlet</p>
<p>	ReductionMasterServlet<br />
	in.jsw.mes.planning.masters.servlets.ReductionMasterServlet</p>
<p>	StartupPossibleValuesServlet<br />
	in.jsw.mes.planning.masters.servlets.StartupPossibleValuesServlet</p>
<p>		HrCoilRcptServlet<br />
		in.jsw.mes.production.servlet.HrCoilRcptServlet</p>
<p>		CPLProductionServlet<br />
		in.jsw.mes.production.servlet.CPLProductionServlet</p>
<p>		QualityServlet<br />
		in.jsw.mes.quality.servlet.QualityServlet</p>
<p>		DelayServlet<br />
		in.jsw.mes.production.servlet.DelayServlet</p>
<p>		DefectServlet<br />
		in.jsw.mes.quality.servlet.DefectServlet</p>
<p>		surfaceImageDisplay<br />
		surfaceImageDisplay</p>
<p>		in.jsw.mes.quality.servlet.surfaceImageDisplay</p>
<p>		ReductionMasterServlet<br />
		/ReductionMasterServlet</p>
<p>		StartupPossibleValuesServlet<br />
		/StartupPossibleValuesServlet</p>
<p>		dispatcher<br />
		*.ui</p>
<p>		SendForSchdDDServlet<br />
		/SendForSchdDDServlet</p>
<p>		OrdersServlet<br />
		/OrdersServlet</p>
<p>		HrCoilRcptServlet<br />
		/HrCoilRcptServlet</p>
<p>		CPLProductionServlet<br />
		/CPLProductionServlet</p>
<p>		QualityServlet<br />
		/QualityServlet</p>
<p>		DelayServlet<br />
		/DelayServlet</p>
<p>		DefectServlet<br />
		/DefectServlet</p>
<p>		surfaceImageDisplay<br />
		/surfaceImageDisplay</p>
<p>		index.jsp</p>
<p>			<a href="http://java.sun.com/jsp/jstl/core" rel="nofollow">http://java.sun.com/jsp/jstl/core</a><br />
			/WEB-INF/tld/jstl-core.tld</p>
<p>			<a href="http://java.sun.com/jsp/jstl/fmt" rel="nofollow">http://java.sun.com/jsp/jstl/fmt</a><br />
			/WEB-INF/tld/jstl-fmt.tld</p>
<p>			<a href="http://java.sun.com/jsp/jstl/fn" rel="nofollow">http://java.sun.com/jsp/jstl/fn</a><br />
			/WEB-INF/tld/jstl-fn.tld</p>
<p>			/spring<br />
			/WEB-INF/tld/spring.tld</p>
<p>		Example Security Constraint</p>
<p>			Secured Area<br />
			*.ui</p>
<p>		&lt;!&#8211;<br />
			friend<br />
		 &#8211;&gt;</p>
<p>		FORM<br />
		Secured Application Area</p>
<p>			/WEB-INF/jsps/production/transaction/login.jsp<br />
			/WEB-INF/jsps/production/transaction/login.jsp?error=Login+not+successful.+Try again.</p>
<p>	&lt;!&#8211;<br />
		friend<br />
	 &#8211;&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arun</title>
		<link>http://www.symphonious.net/2007/06/19/caching-in-tomcat/comment-page-1/#comment-173895</link>
		<dc:creator>Arun</dc:creator>
		<pubDate>Sat, 07 Mar 2009 11:55:06 +0000</pubDate>
		<guid isPermaLink="false">https://www.symphonious.net/2007/06/19/caching-in-tomcat/#comment-173895</guid>
		<description>Hi Gopal,

I could not get the whole tags from the response you posted..
In web.xml you need to use &lt;filter&gt; tags so that Tomcat will know to send all requests thru this Resource Accelerate.</description>
		<content:encoded><![CDATA[<p>Hi Gopal,</p>
<p>I could not get the whole tags from the response you posted..<br />
In web.xml you need to use &lt;filter&gt; tags so that Tomcat will know to send all requests thru this Resource Accelerate.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gopal</title>
		<link>http://www.symphonious.net/2007/06/19/caching-in-tomcat/comment-page-1/#comment-173894</link>
		<dc:creator>Gopal</dc:creator>
		<pubDate>Sat, 07 Mar 2009 11:51:19 +0000</pubDate>
		<guid isPermaLink="false">https://www.symphonious.net/2007/06/19/caching-in-tomcat/#comment-173894</guid>
		<description>Regret that I am flooding with questions - however I am happy to seek the right fraternities help

1. Or - may be - all requests are to be served by Dispather servlet of Spring - but when the response is composed - it should be given to the Resource Accelerator Servlet so that the headers are appropriately set/updated - before the response is sent to the clients/browsers.

2. The objective that is to be achieved is that -
a. Set longer expiry period of the css, js, imgs/png, imgs/gif etc at the client side.
b. So that requests are not sent to the server for such mime types.
c. However once all the headers are set appropriately - the subsequent request for such mime types should only be if-modified-since - and as you know if there are no modifications nothing is sent and if modifications are there -only the modified resouces should be sent back to be again cached for the defined expiry period
d. instead of storing the cache in the memory can the cache be stored on the hard disk -

Regards,
gopal.</description>
		<content:encoded><![CDATA[<p>Regret that I am flooding with questions &#8211; however I am happy to seek the right fraternities help</p>
<p>1. Or &#8211; may be &#8211; all requests are to be served by Dispather servlet of Spring &#8211; but when the response is composed &#8211; it should be given to the Resource Accelerator Servlet so that the headers are appropriately set/updated &#8211; before the response is sent to the clients/browsers.</p>
<p>2. The objective that is to be achieved is that -<br />
a. Set longer expiry period of the css, js, imgs/png, imgs/gif etc at the client side.<br />
b. So that requests are not sent to the server for such mime types.<br />
c. However once all the headers are set appropriately &#8211; the subsequent request for such mime types should only be if-modified-since &#8211; and as you know if there are no modifications nothing is sent and if modifications are there -only the modified resouces should be sent back to be again cached for the defined expiry period<br />
d. instead of storing the cache in the memory can the cache be stored on the hard disk -</p>
<p>Regards,<br />
gopal.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gopal</title>
		<link>http://www.symphonious.net/2007/06/19/caching-in-tomcat/comment-page-1/#comment-173893</link>
		<dc:creator>Gopal</dc:creator>
		<pubDate>Sat, 07 Mar 2009 11:22:47 +0000</pubDate>
		<guid isPermaLink="false">https://www.symphonious.net/2007/06/19/caching-in-tomcat/#comment-173893</guid>
		<description>My request is what do I need to do (or if an example is present) to make sure that the response is built and then given to the Resource accelerator filter classes so that the gzipinng and caching headers are modified/updated before the response is sent to the client/browser.I think the Spring MVC dispatcher servlet gets the request and it is bypassing the filter classes to do the gzipinng and caching of HTTP headers and sending the response to clients/browsers. 

Please find my web.xml - I have added the Resource Accelerator jar to the build path and mentioned the filter class and mappings in web.xml. 





	MES
	
		CacheFilter
		com.xucia.resourceaccelerate.CacheHeadersFilter
		&lt;!--
			 cache-folder  ra-cache 
			
		--&gt;
		 
			cache-folder 
			&lt;!--   what folder to use for caching compressed file (relative the webapp root directory)--&gt; 
			WEB-INF/cache &lt;!--  folder or path --&gt;
			
		
		
			expiration-time &lt;!-- how long the resource should stay in the browser cache --&gt;
			86400000 &lt;!-- one day --&gt;
		
	
	
		CompressAndCacheFilter
		
			com.xucia.resourceaccelerate.CompressAndCacheHeadersFilter
		
			caching-headers-enabled
			&lt;!--sets whether or not caching headers should be enabled --&gt;
				true 
				&lt;!-- this is true by default, must be set to false to disable--&gt;
		
		
			expiration-time &lt;!-- how long the resource should stay in the browser cache --&gt;
			86400000 &lt;!-- one day --&gt;
		
		
			cached-compressed-data
			
			true &lt;!-- true is the default--&gt;
		
	
	
		JSCompressAndCacheFilter
		
			com.xucia.resourceaccelerate.CompressAndCacheHeadersFilter
		
			expiration-time &lt;!-- how long the resource should stay in the browser cache --&gt;
			86400000 &lt;!-- one day --&gt;
		
		
			shrink-js &lt;!-- setting if the js should be shrinked --&gt;
			false &lt;!-- no js shrinking--&gt;
		
	

	&lt;!-- These file types will only have caching headers applied --&gt;
	
		CacheFilter
		*.gif
	
	
		CacheFilter
		*.jpg
	
	
		CacheFilter
		*.png
	
	
		CacheFilter
		*.jpeg
	

	&lt;!-- These file types will have caching headers and gzip applied --&gt;
	
		CompressAndCacheFilter
		*.html
	
	
		CompressAndCacheFilter
		*.css
	
	
		JSCompressAndCacheFilter
		*.js
	


	
		dispatcher
		org.springframework.web.servlet.DispatcherServlet
		
			contextClass
			org.springframework.web.context.support.XmlWebApplicationContext
		
		
			contextConfigLocation
			/WEB-INF/server-prod-context.xml /WEB-INF/presentation-prod-context.xml /WEB-INF/presentation-planning-context.xml /WEB-INF/server-planning-context.xml /WEB-INF/server-quality-context.xml /WEB-INF/presentation-quality-context.xml
		

		1
	
	
		SendForSchdDDServlet
		in.jsw.mes.production.servlet.SendForSchdDDServlet
	

	
		OrdersServlet
		
			in.jsw.mes.planning.transactions.servlets.OrdersServlet
	

	
		ReductionMasterServlet
		
			in.jsw.mes.planning.masters.servlets.ReductionMasterServlet
	

	
		StartupPossibleValuesServlet
		
			in.jsw.mes.planning.masters.servlets.StartupPossibleValuesServlet
	

	
		HrCoilRcptServlet
		in.jsw.mes.production.servlet.HrCoilRcptServlet
	

	
		CPLProductionServlet
		in.jsw.mes.production.servlet.CPLProductionServlet
	
	
		QualityServlet
		in.jsw.mes.quality.servlet.QualityServlet
	
	
		DelayServlet
		in.jsw.mes.production.servlet.DelayServlet
	
	
		DefectServlet
		in.jsw.mes.quality.servlet.DefectServlet
	
	
		
		
		surfaceImageDisplay
		surfaceImageDisplay
		in.jsw.mes.quality.servlet.surfaceImageDisplay
	
	
		ReductionMasterServlet
		/ReductionMasterServlet
	

	
		StartupPossibleValuesServlet
		/StartupPossibleValuesServlet
	

	
		dispatcher
		*.*
	
	
		SendForSchdDDServlet
		/SendForSchdDDServlet
	
	
		OrdersServlet
		/OrdersServlet
	

	
		HrCoilRcptServlet
		/HrCoilRcptServlet
	

	
		CPLProductionServlet
		/CPLProductionServlet
	

	
		QualityServlet
		/QualityServlet
	
	
		DelayServlet
		/DelayServlet
	
	
		DefectServlet
		/DefectServlet
	
	
		surfaceImageDisplay
		/surfaceImageDisplay
	
	
		index.jsp
	

	
		
			http://java.sun.com/jsp/jstl/core
			/WEB-INF/tld/jstl-core.tld
		
		
			http://java.sun.com/jsp/jstl/fmt
			/WEB-INF/tld/jstl-fmt.tld
		
		
			http://java.sun.com/jsp/jstl/fn
			/WEB-INF/tld/jstl-fn.tld
		
		
			/spring
			/WEB-INF/tld/spring.tld
		
	
	
		Example Security Constraint
		
			Secured Area
			*.ui
		

		&lt;!--
			 friend 
		--&gt;

	
	
		FORM
		Secured Application Area
		
			/WEB-INF/jsps/production/transaction/login.jsp
			
				/WEB-INF/jsps/production/transaction/login.jsp?error=Login+not+successful.+Try
				again.
		
	

	&lt;!--
		 friend 
	--&gt;


</description>
		<content:encoded><![CDATA[<p>My request is what do I need to do (or if an example is present) to make sure that the response is built and then given to the Resource accelerator filter classes so that the gzipinng and caching headers are modified/updated before the response is sent to the client/browser.I think the Spring MVC dispatcher servlet gets the request and it is bypassing the filter classes to do the gzipinng and caching of HTTP headers and sending the response to clients/browsers. </p>
<p>Please find my web.xml &#8211; I have added the Resource Accelerator jar to the build path and mentioned the filter class and mappings in web.xml. </p>
<p>	MES</p>
<p>		CacheFilter<br />
		com.xucia.resourceaccelerate.CacheHeadersFilter<br />
		&lt;!&#8211;<br />
			 cache-folder  ra-cache </p>
<p>		&#8211;&gt;</p>
<p>			cache-folder<br />
			<!--   what folder to use for caching compressed file (relative the webapp root directory)--><br />
			WEB-INF/cache <!--  folder or path --></p>
<p>			expiration-time <!-- how long the resource should stay in the browser cache --><br />
			86400000 <!-- one day --></p>
<p>		CompressAndCacheFilter</p>
<p>			com.xucia.resourceaccelerate.CompressAndCacheHeadersFilter</p>
<p>			caching-headers-enabled<br />
			<!--sets whether or not caching headers should be enabled --><br />
				true<br />
				<!-- this is true by default, must be set to false to disable--></p>
<p>			expiration-time <!-- how long the resource should stay in the browser cache --><br />
			86400000 <!-- one day --></p>
<p>			cached-compressed-data</p>
<p>			true <!-- true is the default--></p>
<p>		JSCompressAndCacheFilter</p>
<p>			com.xucia.resourceaccelerate.CompressAndCacheHeadersFilter</p>
<p>			expiration-time <!-- how long the resource should stay in the browser cache --><br />
			86400000 <!-- one day --></p>
<p>			shrink-js <!-- setting if the js should be shrinked --><br />
			false <!-- no js shrinking--></p>
<p>	<!-- These file types will only have caching headers applied --></p>
<p>		CacheFilter<br />
		*.gif</p>
<p>		CacheFilter<br />
		*.jpg</p>
<p>		CacheFilter<br />
		*.png</p>
<p>		CacheFilter<br />
		*.jpeg</p>
<p>	<!-- These file types will have caching headers and gzip applied --></p>
<p>		CompressAndCacheFilter<br />
		*.html</p>
<p>		CompressAndCacheFilter<br />
		*.css</p>
<p>		JSCompressAndCacheFilter<br />
		*.js</p>
<p>		dispatcher<br />
		org.springframework.web.servlet.DispatcherServlet</p>
<p>			contextClass<br />
			org.springframework.web.context.support.XmlWebApplicationContext</p>
<p>			contextConfigLocation<br />
			/WEB-INF/server-prod-context.xml /WEB-INF/presentation-prod-context.xml /WEB-INF/presentation-planning-context.xml /WEB-INF/server-planning-context.xml /WEB-INF/server-quality-context.xml /WEB-INF/presentation-quality-context.xml</p>
<p>		1</p>
<p>		SendForSchdDDServlet<br />
		in.jsw.mes.production.servlet.SendForSchdDDServlet</p>
<p>		OrdersServlet</p>
<p>			in.jsw.mes.planning.transactions.servlets.OrdersServlet</p>
<p>		ReductionMasterServlet</p>
<p>			in.jsw.mes.planning.masters.servlets.ReductionMasterServlet</p>
<p>		StartupPossibleValuesServlet</p>
<p>			in.jsw.mes.planning.masters.servlets.StartupPossibleValuesServlet</p>
<p>		HrCoilRcptServlet<br />
		in.jsw.mes.production.servlet.HrCoilRcptServlet</p>
<p>		CPLProductionServlet<br />
		in.jsw.mes.production.servlet.CPLProductionServlet</p>
<p>		QualityServlet<br />
		in.jsw.mes.quality.servlet.QualityServlet</p>
<p>		DelayServlet<br />
		in.jsw.mes.production.servlet.DelayServlet</p>
<p>		DefectServlet<br />
		in.jsw.mes.quality.servlet.DefectServlet</p>
<p>		surfaceImageDisplay<br />
		surfaceImageDisplay<br />
		in.jsw.mes.quality.servlet.surfaceImageDisplay</p>
<p>		ReductionMasterServlet<br />
		/ReductionMasterServlet</p>
<p>		StartupPossibleValuesServlet<br />
		/StartupPossibleValuesServlet</p>
<p>		dispatcher<br />
		*.*</p>
<p>		SendForSchdDDServlet<br />
		/SendForSchdDDServlet</p>
<p>		OrdersServlet<br />
		/OrdersServlet</p>
<p>		HrCoilRcptServlet<br />
		/HrCoilRcptServlet</p>
<p>		CPLProductionServlet<br />
		/CPLProductionServlet</p>
<p>		QualityServlet<br />
		/QualityServlet</p>
<p>		DelayServlet<br />
		/DelayServlet</p>
<p>		DefectServlet<br />
		/DefectServlet</p>
<p>		surfaceImageDisplay<br />
		/surfaceImageDisplay</p>
<p>		index.jsp</p>
<p>			<a href="http://java.sun.com/jsp/jstl/core" rel="nofollow">http://java.sun.com/jsp/jstl/core</a><br />
			/WEB-INF/tld/jstl-core.tld</p>
<p>			<a href="http://java.sun.com/jsp/jstl/fmt" rel="nofollow">http://java.sun.com/jsp/jstl/fmt</a><br />
			/WEB-INF/tld/jstl-fmt.tld</p>
<p>			<a href="http://java.sun.com/jsp/jstl/fn" rel="nofollow">http://java.sun.com/jsp/jstl/fn</a><br />
			/WEB-INF/tld/jstl-fn.tld</p>
<p>			/spring<br />
			/WEB-INF/tld/spring.tld</p>
<p>		Example Security Constraint</p>
<p>			Secured Area<br />
			*.ui</p>
<p>		&lt;!&#8211;<br />
			 friend<br />
		&#8211;&gt;</p>
<p>		FORM<br />
		Secured Application Area</p>
<p>			/WEB-INF/jsps/production/transaction/login.jsp</p>
<p>				/WEB-INF/jsps/production/transaction/login.jsp?error=Login+not+successful.+Try<br />
				again.</p>
<p>	&lt;!&#8211;<br />
		 friend<br />
	&#8211;&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gopal</title>
		<link>http://www.symphonious.net/2007/06/19/caching-in-tomcat/comment-page-1/#comment-173892</link>
		<dc:creator>Gopal</dc:creator>
		<pubDate>Sat, 07 Mar 2009 08:17:06 +0000</pubDate>
		<guid isPermaLink="false">https://www.symphonious.net/2007/06/19/caching-in-tomcat/#comment-173892</guid>
		<description>hi Arun or anyone,

do you have the complete sample that you can share, (web.xml, servlets etc) that worked for you.

we need to shrink he download size, increase the speed, reduce the # of requests from client/browser to server, ensure data is found on the hard disk than the memory of the client, etc etc. so that the web application that we are working on first checks the local systems hard disk for cached resources (js, imgs/gifs/pngs, css, text, properties etc) before it even makes a requests.. to the server.

all we want to do is ensure that all subsequent requests get their data from local hard disk cache till the data on server has changed.

regards
gopal.</description>
		<content:encoded><![CDATA[<p>hi Arun or anyone,</p>
<p>do you have the complete sample that you can share, (web.xml, servlets etc) that worked for you.</p>
<p>we need to shrink he download size, increase the speed, reduce the # of requests from client/browser to server, ensure data is found on the hard disk than the memory of the client, etc etc. so that the web application that we are working on first checks the local systems hard disk for cached resources (js, imgs/gifs/pngs, css, text, properties etc) before it even makes a requests.. to the server.</p>
<p>all we want to do is ensure that all subsequent requests get their data from local hard disk cache till the data on server has changed.</p>
<p>regards<br />
gopal.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arun</title>
		<link>http://www.symphonious.net/2007/06/19/caching-in-tomcat/comment-page-1/#comment-173362</link>
		<dc:creator>Arun</dc:creator>
		<pubDate>Tue, 23 Sep 2008 04:46:06 +0000</pubDate>
		<guid isPermaLink="false">https://www.symphonious.net/2007/06/19/caching-in-tomcat/#comment-173362</guid>
		<description>I wasn&#039;t able to solve it using the XML method said here.
I was able to set the filter in the web.xml and wrote a servlet to set the header for every response..
I found out that http://www.xucia.com/#Resource%20Accelerate Resource Accelerate was very helpful, we just need to add the jar into the app, and make some simple changes in the web.xml.. It also caches the content in the web server also. It worked out gr8 for me..</description>
		<content:encoded><![CDATA[<p>I wasn&#8217;t able to solve it using the XML method said here.<br />
I was able to set the filter in the web.xml and wrote a servlet to set the header for every response..<br />
I found out that <a href="http://www.xucia.com/#Resource%20Accelerate" rel="nofollow">http://www.xucia.com/#Resource%20Accelerate</a> Resource Accelerate was very helpful, we just need to add the jar into the app, and make some simple changes in the web.xml.. It also caches the content in the web server also. It worked out gr8 for me..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bilal</title>
		<link>http://www.symphonious.net/2007/06/19/caching-in-tomcat/comment-page-1/#comment-173361</link>
		<dc:creator>Bilal</dc:creator>
		<pubDate>Mon, 22 Sep 2008 21:18:37 +0000</pubDate>
		<guid isPermaLink="false">https://www.symphonious.net/2007/06/19/caching-in-tomcat/#comment-173361</guid>
		<description>Arun, I&#039;m also working on a Spring based app and want to set the cache control for it.  Were you able to solve this?  I&#039;d be very grateful for any tips.</description>
		<content:encoded><![CDATA[<p>Arun, I&#8217;m also working on a Spring based app and want to set the cache control for it.  Were you able to solve this?  I&#8217;d be very grateful for any tips.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
