Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSViewer template cache can't be configured #3405

Open
halkyon opened this issue Aug 20, 2014 · 0 comments
Open

SSViewer template cache can't be configured #3405

halkyon opened this issue Aug 20, 2014 · 0 comments

Comments

@halkyon
Copy link
Contributor

halkyon commented Aug 20, 2014

Currently it's using a hand-rolled caching solution that puts the template caches into TEMP_FOLDER/.cache.x.x.x.Filename.ss etc. There's no way to configure that.

Would be ideal if we could use SS_Cache for this, so the caching can be configured. For example, you might want to put all the cached templates into APC, and/or set a different cache lifetime. It's generally a much nicer solution than a hand-rolled cache. If the overhead of Zend_Cache is too much, I suggest we compromise with something like ManifestCache, which hand-rolls it in a way that's more configurable, obviously benchmarks would determine that decision.

Note that SSViewer::getPartialCacheStore() currently uses SS_Cache. I wonder if that could be combined.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants