Website files not updating - caching

I have a seemingly simple issue, but it's been driving me insane for the past few hours. My website does not update any made changes on any of my files, until about 30 minutes later.
I've tried both Safari and Chrome, cleared their history and caches, refreshed the page, and yet it loads the old files. In my ftp client (I'm using Filezilla) everything appears to be in order too: Directory listing gets logged as successful, and correctly shows the new file and date of modification. When I checked back about half an hour later, everything seemed to have updated everything perfectly... File permissions are ok, Firewall is ok, Connection speed is reasonable...
I have no idea what the problem is. The only thing that I can think of is that I'm currently in another country, so far away from my server, yet I've updated my sites before without any problems. Does anyone know of this issue?
Thanks in advance!

Related

Some links refers to localhost but hosts file is fine

I am not sure what tags to add on this question. I will describe my situation as well as I can.
I open the virtual hosts at the chrome, run the phpstorm, read php code. After I searching the question of the code, then I refresh the page, and I am in trouble.
It is so sudden which is never happened before. I tried to figure out what is going on, but I got nothing.
All I know is some links refers to localhost automaticly and I have no idea about it.
The problem website is https://www.iviewui.com/docs/guide/install as far as I know.
I press f12, switch to Network panel and get these.
It seems https://file.iviewui.com/dist/main.9011c9acade2093b2da7.css not works well, so I visit https://file.iviewui.com directly then it shows me Access forbidden! . Ok, I visit http://file.iviewui.com, and it really confuses me that it shows the same result of localhost.
However I am not put the website into hosts file.
I have doubted that it might be caused by the proxy plugin. I open another brower firefox, still get the same result.
Also doubted that it might be caused by the virus, but it doesn't make sense. Actually I did use the safemgr software and still got nothing.
Tried stoping apache of xampp and get ERR_CONNECTION_REFUSED which means it really refers to localhost.
Before I ask this question, bootstrap website has the same problem.I was editing this question meanwhile I visited bootstrap website again and problem disappeared. I still don't know why and iView website still has the problem.
Tried restarting the computer and problem is still there.

500 error on local Laragon website

I usually don't have any problem with Laragon as it works pretty good. I had no problem using Laravel.
But recently, my laptop made a Windows update, and since it restarted, nothing works anymore.
By nothing, I mean that when I try to load my virtual host "foo.dev", I have a 500 error without any info. So I tried the old way by going on localhost/www/foo/public and it loaded my website. Great !
But new bad news, impossible to connect to the database, even using a software, as if the password had been changed...
I don't have any idea on how to fix these problems and where does the problem comes from...So I'm asking for your help, if anyone has already faced a similar problem and reached to solve it.
Thank you.
I guess when updated your windows, Chrom also updated and apparently Chrome made new release that forces .dev, .app, and a few other TLDs to use HTTPS. The best fix is to use .local instead of another TLD.
see this question for more info

Laravel 'Whoops, something went wrong'

I've created a Laravel booking application that is currently being used in schools. When I test the live (production) version of the website on my own machine, the application works fine.
However, some schools are reporting that they are not even able to see the initial login screen, and are getting the Laravel 'Whoops, something went wrong' screen. I can confirm that the school firewall is not causing the issue, and that the website has worked ok in the past.
What reasons could there be for the same code to work on my machine but not on the live version? So far I have tried resetting the browser cache, and also flushed the DNS but to no avail...
Any suggestion are welcome.
Thanks.
It seems like folder permissions problem.
As the error is not shown, nobody can really help you..
What I suggest, is first to check the log file (storage/logs/laravel***.log).
There you should be able normally to see the problem and then you can fix it.
Another solution, in your ".env" file, switch from production to development mode, so you can be able to see the exception.
Check capitialization on the view name. I've had issues where everything works fine locally, but then get not found issues when live as the server behaves differently and is case sensitive.

Joomla content not displaying on other computers

I've build a Joomla website and it has been online for like 2 years now, always worked fine.
Recently I added a Google maps plugin and changed some header images.
Strange thing is, those changes are only displaying on my own laptop. The problem is not that I'm by accident viewing a local website, I'm 100% visiting the website online. I just opened the website on chrome with www.mywebsite.com and it displays all changes made in the backend. When I log out and back in again to the backend trough /administrator I can see the changes.
Now when I open the website on another computer (tried like three different ones), the changes are not displaying. Even when I log in to the backend through /administrator, still online on the same network, I am not seeing the changes made on my laptop and vice versa.
Frontend sometimes can have problems with caching, but the cache is disabled so this can't be the problem. And even if so, why would the backend display other data on 2 different computers..?
Also I've already tried removing the browser cache on those other computers.
Has anyone experienced this problem? I'm guessing it might be a problem on the side of my hosting company..
It had to do with a rule in the hosts-file on my laptop which directed to an old location/ip-adress of the website which has been moved to another server.

Browser always keeps cache

I'm working on a project for school, and have run into a problem.
My browser takes a very long time to re-read the files on the localhost server.
I'm on a mac using Google Chrome, but have seen the same problem with Safari and Firefox.
Using cmd+shift+r does not work, and even dumping the cache through the browser does nothing. All I seem to be able to do is wait untill it's fetched the latest files.
My project is built in Kohana 3.3.1, in case that might be relevant.

Resources