Project management
Version history of gzip_cnc
Version 1.11 (2002-09-06)
- (MS) security bug fix: Check whether gzip_cnc has really been invoked as as handler.
Please don't use gzip_cnc versions older than 1.11!
Version 1.10 (2002-06-25)
- (MS) Conditional evaluation of the ErrorDocument parameter as URL rsp. file name.
- (MS) Conditional display of the ErrorDocument parameter in self-test mode.
Version 1.09 (2002-06-24)
- (MS) Creation of additional proprietary HTTP headers for displaying
PATH_INFO
andPATH_TRANSLATED
(only in case of self-test mode being activated).
Version 1.08 (2002-06-24)
- (MS) First complete version of the English translation of this documentation.
- (MS) Now a HTTP status 404 is explicitly sent while handling a missing file.
- (MS) Responses with HTTP status 404 now get a
Content-Length
as well.
Version 1.07 (2002-06-21)
- (MS) Configurability of all parameter values via Environment variables
Version 1.06 (2002-06-18)
- (MS) Self-test mode: Display now missing cache root directory as
WARNING
(has beenERROR
in previous versions) - (MS) Self-test mode: Additional display of complete path names for script file and document root directory of the domain
- (MS) Self-test mode can now be disabled via a new configuration variable
- (MS) Try to automatically create missing directories for the path name of the log file
- (MS) Self-test mode: Write a message into the log file (may implicitly cause the generation of this file)
Version 1.05 (2002-06-09)
- (MS) Correct cooperation with common Content Negotiation of the server for the requested files.
- (MS) Minor code beautifying.
Version 1.04 (2002-06-06)
- (MS) Windows specific output problems fixed.
- (MS) Use of a Windows program
gzip.exe
alternatively to the Perl API is now supported. - (MS) Configuration options enhanced.
- (MS) Extended checks and messages in self test mode.
Version 1.03 (2002-06-04)
- (MS) Self test mode in case of direct invocation of the CGI script via URL.
- (CK) Compressing directly into the output file, no more need for a temporary file copy.
Version 1.02 (2002-06-03)
- (CK) Port to Windows: Optional use of the Perl API
Compress::Zlib
if available. - (MS) Additional status codes for using the zlib.
Version 1.01 (2002-06-01)
- (CK) Port to Windows: Perl implementation for copying a file.
- (CK) Port to Windows: Perl implementation for creating a directory path.
Version 1.00 (2002-05-12)
- (MS) First usable version.
Known problems
- gzip_cnc cannot be used in combination with
mod_perl
. - gzip_cnc cannot be used via
perl -w
(this would produce warnings because of missing prototypes for both recursive functions).
Possible enhancements for future versions
- Respond HTTP status 304 to conditional get (check Environment variable
HTTP_IF_MODIFIED_SINCE
) - if the browser already has the page content in a current state we don't need to serve it again - Support more than one MIME type by the same program instance
- Allow for some configurable root directory inside the URL tree (would make the cache paths shorter if the user owns or wants to compress just a part of the domain)
Credits
- Christian Kruse provided the inspiration for the caching procedure used, as well as important technical enhancements in the early program versions that led to an significant increase of the program's processing speed and simplified requirements for its use; also, without his contributions the program wouldn't run under Windows.
Christian himself offers a re-implementation of gzip_cnc in C that without a doubt can work faster than an interpreted Perl script. - Stefan Einspender and Roland Skop improved the navigation elements of these HTML pages to an up-to-date technical level.
(Michael Schröpl, 2003-02-08)