Search code examples
javascriptphpfirefoxserverdelay

Why firefox do not show actual information from server after page reload?


I have made small web-app: http://letme.ijn.su

At this moment I debug it on PC.
I have problems with Firefox - when I make some changes on server side(add more notes) and resfresh page - I see changes only after some time. Other browsers(chrome, opera, yandex) work well


I suppose it is because of firefox cashing - how can I force it to get new info from server with every request?


I use Ubuntu, Apache, PHP.
by link http://letme.ijn.su - you launch index.php, which print job-page or login-page(have you cookies or not).


Solution

  • Maybe this will work clearstatcache(); This should clear the cache on the server side. Or if you want to delete a file you can use unlink();