Move pyramid caching to utils and add support for workspaces.
Autoscale per limit possible.