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

Getting a configuration ignoring cache #45

Open
bvisonl opened this issue Apr 18, 2018 · 2 comments
Open

Getting a configuration ignoring cache #45

bvisonl opened this issue Apr 18, 2018 · 2 comments

Comments

@bvisonl
Copy link

bvisonl commented Apr 18, 2018

I am not sure if maybe it is me doing something wrong but I have the DoctrineCacheBundleAdapter setup and so far it is working like a charm. However, what happens if in a very specific section I want the configuration bundle to fetch a configuration from the database ignoring the cache?

An example on this is that there is a value that I am constantly changing directly on the database to test something out but since the result is cached it is obviously not working properly.

@craue
Copy link
Owner

craue commented Apr 19, 2018

Well, you could remove the cache from your dev env and use it in staging/prod only.

@bvisonl
Copy link
Author

bvisonl commented Apr 20, 2018

Yeah but it is more like if there is a value that is constantly changing (let's say that it changes directly in the database from another app that connects to the database..) and you want only that configuration to be loaded ignoring cache

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

2 participants