google chrome - PHP Reload Time -


hello have problem php. im coding in 2 ways:

  1. i upload file ftp sever
  2. save local , run mamp (osx)

but in both ways save/upload new file takes 2-5 min until can see changes.

example:

old php:

<?php echo "test"; ?> 

new php:

<?php echo "test2"; ?> 

so save second file until see second text may taxes aboout 2-5 minutes?

can change in php info file or else ? or there way code in php ?

this sounds caching problem. try hitting cmd+shift+r* , see if changes instant then. if that's problem, see answer how disable cache prevent problem.

also, lovenohate points out in comments, possible server- or isp-side caching problem. because have same problem running locally on mamp, however, sounds browser issue.

* mac os x shortcut. future visitors: use ctrl+f5 windows.


Comments

Popular posts from this blog

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -