Jeffrey Ryan Thalhammer > Pinto-0.099 > Pinto::Server::Responder::File

Download:
Pinto-0.099.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.099   Source   Latest Release: Pinto-0.09995

NAME ^

Pinto::Server::Responder::File - Responder for static files

VERSION ^

version 0.099

METHODS ^

should_not_cache($file)

Returns true if the file should not be cached, and therefore the Cache-Control header should be set to 'no-cache' in the response. Currently, only the index files should not be cached.

AUTHOR ^

Jeffrey Ryan Thalhammer <jeff@stratopan.com>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2013 by Jeffrey Ryan Thalhammer.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: