Lemonldap::NG::Common::CGI(3pm)

Lemonldap::NG::Common::CGI3pm

Simple module to extend cgi to manage http "if-modified-since / 304 not modified" system.

Usage

  use Lemonldap::NG::Common::CGI;
  
  my $cgi = Lemonldap::NG::Common::CGI->new();
  $cgi->header_public($ENV{SCRIPT_FILENAME});
  print "<html><head><title>Static page</title></head>";
  ...

Overview

Lemonldap::NG::Common::CGI just add header_public subroutine to CGI module to avoid printing HTML elements that can be cached.

Methods

header_public

header_public works like header (see CGI) but the first argument has to be a filename: the last modify date of this file is used for reference.

Export

Bug report

Use OW2 system to report bug or ask for features: <http://jira.ow2.org>

Download

Lemonldap::NG is available at <http://forge.objectweb.org/project/showfiles.php?group_id=274>

Releases

4 releases since Debian 6.0 (Squeeze); the text changed 3 times.

  1. 6.0
  2. 7
  3. 8
  4. 9