in reply to Re^3: Catalyst, Accessing Cache plugins from Models
in thread Catalyst, Accessing Cache plugins from Models

Yeah I had seen that but was hoping there was a "proper" way. Pity.

IMO caching should be available in M, V and C - but that could be a lively debate for another time.

  • Comment on Re^4: Catalyst, Accessing Cache plugins from Models

Replies are listed 'Best First'.
Re^5: Catalyst, Accessing Cache plugins from Models
by Your Mother (Archbishop) on Mar 25, 2014 at 03:57 UTC

    Well, it is available. You cache output. This is how some sites like github make pretty intensive stuff quite speedy.

    You can also propagate the context around with the modules I suggested and share the controller’s cache.

    You can also have a memcached or whatever available as a plain extra-app class—CHI is a great choice for this—and instantiate an access object in your M and C and if you really insist, in the V too.

    Starts to sound a lot like PHP at this point. :|