debian man page for plack::middleware::expires

Query: plack::middleware::expires

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

Plack::Middleware::Expires(3pm) 			User Contributed Perl Documentation			   Plack::Middleware::Expires(3pm)

NAME
Plack::Middleware::Expires - mod_expires for plack
SYNOPSIS
use Plack::Builder; builder { enable 'Expires', content_type => qr!^image/!i, expires => 'access plus 3 months'; $app; }
DESCRIPTION
Plack::Middleware::Expires is Apache's mod_expires for Plack. This middleware controls the setting of Expires HTTP header and the max-age directive of the Cache-Control HTTP header in server responses. Note: Expires works only for successful response and If exists Expires HTTP header already, this middleware does not override.
CONFIGURATIONS
content_type content_type => qr!^image!, content_type => 'text/css', content_type => [ 'text/css', 'application/javascript', qr!^image/! ] Content-Type header to apply Expires Expires Same format as the Apache mod_expires expires => 'M3600' # last_modified + 1 hour expires => 'A86400' # access + 1 day expires => 'modification plus 3 years 3 month 3 day' expires => 'access plus 3 days'
AUTHOR
Masahiro Nagano <kazeburo {at} gmail.com>
SEE ALSO
<http://httpd.apache.org/docs/2.2/en/mod/mod_expires.html>
LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2010-11-11 Plack::Middleware::Expires(3pm)
Related Man Pages
plack::middleware::deflater(3pm) - debian
plack::middleware::errordocument(3pm) - debian
plack::middleware::file::sass(3pm) - debian
plack::middleware::httpexceptions(3pm) - debian
plack::middleware::stacktrace(3pm) - debian
Similar Topics in the Unix Linux Community
Technical Article: Overview of Performance Tuning Tools in Oracle Fusion Middleware
A Role-Based Approach to Automated Provisioning and Personalized Portals
Listing Middleware
Password Policy description
Middleware Documentation and logs