Whenever I click the additional cache management buttons in admin panel , it deletes the files in pub folder.
I don't know what is the reason for this.
Anyone know about this?
please help me.
cacheless-cssmagento2
Whenever I click the additional cache management buttons in admin panel , it deletes the files in pub folder.
I don't know what is the reason for this.
Anyone know about this?
please help me.
Best Answer
Additional Cache Management System have three buttons, which are given below.
Now if you click on the last button, it will indeed erase all of your static files. Static files are stored in
pub\static\
directory.So the answer to your question is, it erases the
pub\static
folder because it is what it's purpose !!!Sorry, in case you intend anything other.