Hello. Problem: I edit views on ftp, update the page, but there are no changes. I clean the cache in the browser, update, but there are no changes. I go to the page with another browser and there are no changes. I’m leaving with other devices, but there’s no change :( Changes only appear if you refresh the page fifty times or wait another hour and then open again. What could be the matter?

This worsened when the site was moved from a home machine to a remote server. On a home server, this rarely happened. This problem is especially aggravated in the evenings when my Internet is not stable (interruptions). Maybe this is not yii2, but let's say the router caches or the like?

  • clean the web / assets folder. and leave only $ baseUrl in the assets files - Urmuz Tagizade
  • web / assets cleaned itself did not help. There are only styles and scripts. And my whole page is cached. About $ baseUrl did not understand. Do you mean delete $ basePath and leave only $ baseUrl or what? - Samat Zhanbekov September
  • All right understood. If it does not help, then read about forceCopy - Urmuz Tagizade

0