Hi there!

While testing the CGI::Application framework, I began running into errors. So far I haven't properly systemized the bugtracking, but I got the feeling that using adaptive gzipping and caching of pages together leads to errors. For example the ::CaptureIO package freezes generated html to disk.

As long as only users requesting non-gzipped content are served, this is okay. But when one user requests a single page gzipped and another requests the same page non-gzipped, one of these serves become corruptet, and vice-versa.

Are there any caching modules on cpan that handle this case, the case that the gzipped and the non-gzipped page are two versions of the same (by url digest or similar) identified cache objects?

Anyone else had this problem?

In reply to CGI::Application - is caching ::Plugin::CompressGzip aware? by isync

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.