Search code examples
laravelapachecachingserver

Server caches files


I've installed my laravel project on shared hosting. Everything was fine until when server starts loading old pages and scripts after uploading changes. I've checked and cleared browser and laravel caches every time but the problem still. Then I've deleted laravel files but the server still loads main page while it should loads main directory content. Now after installing laravel again the server loads the directory content for main url and works fine for other laravel routs. The most confusing issue is the when trying to refresh browser several times, it loads the actual pages for one or two times then it back to load old cached files.


Solution

  • That was because of cloudfare caching.So I've to develop locally then upload the final release to remote server