Hi,

these are files of static content, aren't they. Why do you take on the
overhead to make them go through your servlet-engine? This is only
necessary if you have some access restrictions based on servlet
resource collections for these static files.
Then if you let the webserver, for instance apache, stream out the
static content files, the webserver is responsible for caching and if-
modified handling.

Peter


----- Original Message -----
From: "RUTHERFURD, Michael" <[EMAIL PROTECTED]>
Date: Thursday, November 22, 2001 5:04 am
Subject: Compressing helper files

> I have a number of files (JavaScript etc) that I reference in
> various JSP
> pages. Currently they are retrieved using the SimpleFileServlet in
> Webspherebut as some of them are getting quite large I was
> thinking it would be nice
> to compress (GZIP) and cache (If-Modified-Since) them. I'm pretty
> sure I
> know *how* to do it (and I should even be able to do it
> generically ie one
> servlet does all the work) but *should* I do it or have I missed
> some simple
> configuration option that already does it?
>
> Michael Rutherfurd
>
>
________________________________________________________________________
___
> To unsubscribe, send email to [EMAIL PROTECTED] and include in
> the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http:
> Resources: http://java.sun.com/products/servlet/external-
> resources.htmlLISTSERV Help:
> http://www.lsoft.com/manuals/user/user.html
>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to