I’ve looked in the documentation and haven’t seen (from first sight) anything about cache in Pyramid. Maybe I missed something… Or maybe there are some third party packages to help with this.
For example, how to cache db query (SQLAlchemy), how to cache views? Could anyone give some link to examples or documentation?
Appreciate any help!
EDITED:
How to use memcache or database type cache or filebased cache?
You should install pyramid_beaker.
Then read the beaker documentation. By default it uses memory based cache, but it can easily support memcached and filebased cache.