CraueConfigBundle
CraueConfigBundle copied to clipboard
Getting a configuration ignoring cache
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.
Well, you could remove the cache from your dev env and use it in staging/prod only.
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