widmogrod / zf2-assetic-module

Zend Framework module for Assetic
146 stars 62 forks source link

autocleared cache #180

Closed andrconstruction closed 6 years ago

andrconstruction commented 6 years ago

Is it a normal behavior, if I changed a style file or a js file, on a production server, after that, the assetic module kill a cache without regenerate. How to avoid this action? I want that the asstic module wait my decision or automatic regenerate. can it possible to achieve this behaviour

widmogrod commented 6 years ago

can it possible to achieve this behavior

Hard to say. If you use production config then, in theory, it shouldn't happen, but it's still the case then this may be assetic-libriary issue and with that, I cannot help.

What I may suggest to you, is to think about the process, that will not require form you editing files on a production server. You may google "how to build continuous delivery pipeline" to help you start with that.