Caching with Pyramid

1k Views Asked by At

How can I cache my views and templates with Pyramid?

The docs talk about pyramid_beaker ( https://docs.pylonsproject.org/projects/pyramid_beaker/en/latest/ ) but the page doesn't actually show how to use the cache.

The first result on google for "pyramid caching" is this - https://docs.pylonsproject.org/projects/pylons-webframework/en/latest/caching.html but it's about Pylons, there are lots of interesting things - caching of views, controller actions, templates and fragments, is it possible to do that in Pyramid, and how?

1

There are 1 best solutions below

5
alexisdevarennes On

You should install pyramid_beaker.

Then read the beaker documentation too.