出力をキャッシュする Catalyst::Plugin::PageCache Catalyst::Plugin::PageCache use Catalyst; MyApp->setup( qw/Cache::FileCache PageCache/ ); MyApp->config->{page_cache} = { expires => 300, set_http_headers => 1, auto_cache => [ '/view/.*', '/list', ], debug => 1, }; # in a controller method $c->cache_page( '3600' ); $c->clear_cached_page( '/list' ); # Expire at a specific time $c->cache_page( $datetime_object