[ckan-dev] Caching controller actions

Ben Scott bnm at benscott.co.uk
Fri Dec 13 11:31:49 UTC 2013


Hi -

I have a controller action I want to cache the results of - whats the best
way of doing this in CKAN & is there any documentation on it (for 2.2a)?
I'm after something more specific than the page cache.

I've tried just using the beaker decorator @beaker_cache(), but the page
loses it's CSS/JS files. And from previous posts on this list, it sounds
like CKAN used to have it's own way of doing it, but the files they refer
to (ckan/lib/cache) don't exist any more...

Thanks for your help,
Ben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20131213/b35a2fe3/attachment-0002.html>


More information about the ckan-dev mailing list