Delay in changes showing up in browser
I'm developing locally on my laptop and finding that there is suddenly a delay between when I make a change and when the browser picks it up, even when I do save all, it can be as long as 20 seconds. I recently upgraded my MAMP from 2.1 to 2.2 and am running php 5.5.3. I checked that there isn't any cache enabled. I do have in General | Synchronization | Use "safe write" enabled. I did try toggling it but didn't seem to help anything. Any thoughts?
I'm using:
PHPStorm7.0
osx mavericks
MAMP 2.2 with php 5.5.3.
Please sign in to leave a comment.
Any thoughts on this one?
Please try this test:
change the file and check out the "change date" with this command: stat <file_name>.
How long will it take to update the "change date"?
Here's the response:
16777218 101072697 -rw-r--r-- 1 msteudel staff 0 12233 "Dec 11 16:50:13 2013" "Dec 11 16:50:26 2013" "Dec 11 16:50:26 2013" "Dec 11 16:50:00 2013" 4096 24 0 register.php
I think I figured out my problem, when installed PHP 5.5 via MAMP, comes with opcache enabled. I went into the php.ini and commented it out and I'm not experiencing a delay like before. Sorry for anyone's wasted cycles.