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

Confirm that the Cache::Clear function in Symfony also clears Stash caches. #29

Open
tedivm opened this issue Jun 17, 2013 · 2 comments

Comments

@tedivm
Copy link
Member

tedivm commented Jun 17, 2013

I'm honestly not sure if this is the best way to handle this, or if we want some more fine tuned controls. However, what is clear is that we need some sort of functionality to allow cache's to be easily cleared (preferably from the command line).

@foaly-nr1
Copy link
Contributor

It depends how you configure your cache. If for example you have an SQLite cache located in the Symfony cache dir then yes, it'd clear when Symfony's cache is cleared.

@andrerom
Copy link
Contributor

same with file system, but indeed there could safely be a separate console command to clear stash cache for those running on memcache(d)/redis/(..), but it won't be able to clear apc cache for web process so it should warn about cases like that if such drivers are configured.

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

No branches or pull requests

3 participants