Re: Re: mod_cache intermittently corrupting PDF's or storing incomplete version of file.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mark Stevens wrote:
Anyone?

It is likely that PDF viewers will ask for byteranges.

If the cache is storing what is requested rather that the entire
file, then this make sense. IIRC mod_proxy does the correct thing
(requests the byterange it does not have and put chunks together then serves the requested range).

PDFs were designed so that the TOC is at the head of the document.
If you find that you are only storing the first NNNN bytes
and then only sporadic contiguous chunks I would assume
byterange requests are the problem and hand code a number
of test requests to confirm it.

HTH

On 16/07/07, Mark Stevens <mark.stevens99@xxxxxxxxxxxxxx> wrote:

Has anyone had problems in the past with Apache mod_cache storing
incomplete versions of files such as PDF's, and if so did you manage
to resolve it?

The problem is intermittent, and I can confirm PDF's from the origin
source are OK.

I would be interested in any combination of setup and version of
Apache you may have seen this with.

I posted something related to this issue regarding removal of
individual files from cache, sorry if this is seen as double posting,
but felt I ought to have been more direct.


Many thanks in advance.

Mark.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux