[Catalyst] Catalyst::Plugin::PageCache question

Andy Grundman andy at hybridized.org
Mon Dec 12 16:47:42 CET 2005


Maxim Nechaev wrote:
> Hello
> 
> Plugin PageCache has method 'clear_cached_page'. It seem like it can
> be called only in some Controller, because it need $context object.
> 
> It is possible to call this method outside Controller? For example in
> my cron job.

I haven't tested it but it should be possible to call clear_cached_page 
as a class method:

MyApp->clear_cached_page

-Andy



More information about the Catalyst mailing list