I have updated a .js file in pub directory and run cache:flush. But when I open website/filename.js in browser and incognito browser, it still load the old file. The permission to pub directory is already 777. I have also run cache:clean, setup:upgrade, di:compile, and static-content-deploy but still load the old file.
3
-
Please remove the manually pub/static and run the all commands– Mohit PatelMar 5, 2020 at 8:36
-
you mean just remove static folder and run setup:upgrade, di:compile, and static-content:deploy?– Wira XieMar 5, 2020 at 8:59
-
Yes remove van run commands– Mohit PatelMar 5, 2020 at 10:07
Add a comment
|