Clean static files cache
You can clean generated static view files in any of the following ways:
In the Magento Admin . Go to System > Tools > Cache Management and click Flush Static Files Cache.
This option is only available in
developermode. Refer to the static view files overview for more information.
Manually by clearing the
var/view_preprocesseddirectories and subdirectories except for
To clear the
pub/staticdirectory of all files except
.htaccess(which is a hidden file), enter the following command:
rm -R pub/static/*
Several commands support an optional parameter
--clear-static-content, which cleans generated static view files: