How can I completely disable the cache in Symfony 5.2?
I use PHP config file (services.php) and not the yaml ones. In the docs, I cannot find anything matching.
Try configuring the two pools that are always enabled by default to use the SymfonyComponentCacheAdapterNullAdapter
SymfonyComponentCacheAdapterNullAdapter
framework: cache: app: cache.adapter.null system: cache.adapter.null services: cache.adapter.null: class: SymfonyComponentCacheAdapterNullAdapter arguments: [~] # small trick to avoid arguments errors on compile-time.
https://symfony.com/doc/current/cache.html#configuring-cache-with-frameworkbundle https://stackoverflow.com/a/46898727/6127393
1.4m articles
1.4m replys
5 comments
56.9k users