cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stuart Roebuck <stuartroeb...@mac.com>
Subject Bizarre SQUID Cocoon PDF caching issue - any brainwaves?
Date Thu, 14 Mar 2002 01:17:40 GMT

      +-------------------------------------------------------------+
      |  THIS IS DOING MY HEAD IN  -  ANYONE GOT A BRAINWAVE ? ...  |
      +-------------------------------------------------------------+

I've got Cocoon behind Squid - as a proxy / 'acceleration' server.

Everything works fine, except...

Any PDF files downloaded from the site are truncated to 81920 bytes.

If I download directly from Cocoon the files download in full.

If I change the ending on the file (in the sitemap) to ".txt" or ".bin" 
the files download (through Squid) in full!

     -- but if you name the files ".txt" wget indicates that they have an 
unknown length
        (but still downloads them in full).

     -- if the files are named ".bin" wget knows the length in advance.
        (and downloads them in full).

So...

  1. Cocoon servers the files correctly.
  2. Squid happily serves much longer files as long as they don't end in 
".pdf".

                          +-----------------------+
                          |   TOTALLY BIZARRE!    |
                          +-----------------------+



            Public Key - 1024D/88DD65AF 2001-11-23 Stuart Roebuck (Adolos)
      Key fingerprint = 89D9 E405 F8B1 9B22 0FA2  F2C1 9E57 5AB1 88DD 65AF
-------------------------------------------------------------------------
Stuart Roebuck                                  stuart.roebuck@adolos.com
Systems Architect                             Java, XML, MacOS X, XP, 
etc.
ADOLOS                                           <http://www.adolos.com/>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message