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.
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.Sign up to join this community
Additional Cache Management System have three buttons, which are given below.
Flush Catalog Images Cache: Pregenerated product images files
Flush Static Files Cache: Preprocessed view files and static files
Now if you click on the last button, it will indeed erase all of your static files. Static files are stored in
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.