H
H
hiwibu2016-05-22 08:56:52
symfony
hiwibu, 2016-05-22 08:56:52

When to flush cache on symfony?

Just started to learn symfony and faced with the fact that sometimes the changes are not applied because. the cache is not flushed.
Actually, after what changes is it worth resetting the cache and is it possible to somehow automate this business?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
index0h, 2016-05-22
@index0h

that's what dev mode is for. True, in case you oversample app / conf, the cache may remain, then you will have to use your hands. There are also plugs when you change the structure of an entity.
I recommend writing yourself a Makefile, or just a bash script that will do the cleanup, call it as needed, symfony will "let you know" with errors when needed.
In the case of a production environment, the cache is reset manually when uploading

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question