Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
JSP - A mailing list about Java Server Pages specification and reference
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Subject: Servlet : Session invalidate
Oracle Connection Pooling in 3 2 2
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Subject: Running a Simple JMS Example
Tomcat and webapplication specific java library path
Mapping in workers2 properties
org apache jasper JasperException
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action
   MESSAGE
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
Value attribute of <html:checkbox
url string for connecting jboss to oracle
javax servlet ServletException: BeanUtils populate
5 0 18: Windows XP Pro vs Windows 2000
HTTP Status 404 The requested resource is not available
 
Stop Caching Flash files

Stop Caching Flash files

2007-11-06       - By MyTest Email

 Back
Reply:     1     2     3  

I will start on a filter now

Thanks Bill


On 11/6/07, Bill Barker <wbarker@(protected)> wrote:
>
>
> "MyTest Email" <betasignup@(protected)> wrote in message
> news:6027d6f90711061744l1e9f5272t15bde1d5f004baa3@(protected)
> >I need to set tomcat to allways send a new copy of the flash file on the
> > server and not send a cached copy, not have proxy servers cache the
> file,
> > etc.
> >
> > I know that there are client, server and proxy issues but I'm looking to
> > see
> > what tomcat configuration can do to assit me to have proxy servers and
> > tomcat not cache the flash files.
> >
>
> It is possible to set cachingAllowed="false" on the <Context /> element to
> prevent Tomcat from caching, but except in extreme cases it is usually
> useless because of a short TTL (5sec by default).  See
> http://tomcat.apache.org/tomcat-5 (See http://cat-5.ora-code.com).5-doc/config/context.html for more
> details
> on Tomcat caching options.
>
> Otherwise, you have to roll your own Filter that will set the caching
> headers (Expires, Cache-Control, Pragma, etc) to control proxy server
> caching.  Tomcat doesn't provide anything out-of-the-box to do this sort
> of
> thing.
>
>
>
> > With Apache's mod_expire you can set specific file types to not be
> cached.
> > This is claimed to be great for proxy servers.
> >
> >
> >
> > e.g.
> >
> >
> >
> > ExpiresActive On
> >
> > ExpiresByType image/gif A2592000
> >
> > ExpiresByType image/png A2592000
> >
> > ExpiresByType image/jpg A2592000
> >
> > ExpiresByType image/jpeg A2592000
> >
> > ExpiresByType application/x-javascript A2592000
> >
> > ExpiresByType application/x-Shockwave-Flash A2592000
> >
> >
> > is there an equivalent method for tomcat?
> >
> > Thanks in advance
> > -Steve
> >
>
>
>
>
> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
> To start a new topic, e-mail: users@(protected)
> To unsubscribe, e-mail: users-unsubscribe@(protected)
> For additional commands, e-mail: users-help@(protected)
>
>

©2008 junlu.com - Jax Systems, LLC, U.S.A.