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

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -