httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Mearns <>
Subject Re: [users@httpd] Caching files on reverse proxy
Date Tue, 10 Nov 2009 19:21:21 GMT
On Tue, Nov 10, 2009 at 1:36 PM, vara prasad <> wrote:
> Hi  All,
> I have set up a reverse proxy for an internal tomcat server
> http://internal:8080
> Few files are hosted on  http://internal:8080.
> My requirement is when user downloads a file from http://internal:8080 using
> the proxy, the proxy should cache the file with its original extension. A
> .pdf file downloaded from  http://internal:8080 should be available in the
> reverse proxy's cache as a .pdf file.  Can any one help to get to it?
> Thanks in advance.

What kind of reverse proxy did you set up? Using Apache and mod_proxy,
or some other software, like Squid? If you're using mod_proxy with
Apache, I don't think caching is done automatically, you'll want to
look at mod_cache:

For other software, dedicated caching proxies (again, like Squid)
usually keep their cache is a more complex way then you seem to be
expecting. For instance, the cache may be stored partially in RAM and
partially on disk, or in a database. At any rate, cahce entries are
not generally stored in any kind of user-friendly way where you can
just browse to the cache directory and look for *.pdf files. They're
typically stored based on some sort of hashing mechanism so they can
be quickly recovered.


Feel free to contact me using PGP Encryption:
Key Id: 0x3AA70848
Available from:

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message