isync has asked for the wisdom of the Perl Monks concerning the following question:

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?
  • Comment on CGI::Application - is caching ::Plugin::CompressGzip aware?