NAME

Mojolicious::Plugin::Cache - Mojolicious plugin for caching

VERSION

version 0.0012

SYNOPSIS

# Action caching

## Mojolicious

$self->plugin('cache-action');

## Mojolicious::Lite

plugin 'cache-action';

# Page caching

## Mojolicious

$self->plugin('cache-page');

## Mojolicious::Lite

plugin 'cache-page'

DESCRIPTION

This distribution provides two plugins to cache responses of mojolicious applications, action-caching and page-caching.

  • Action caching

    Action caching works by caching the entire response of controller action for every requrest. For more read here

  • Page caching

    Page caching works by caching the controller response in a HTML file which can be served directly by webserver bypassing the controller altogether. For more read here

AUTHOR

Siddhartha Basu <biosidd@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2010 by Siddhartha Basu.

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