Prevent page caching on a development server
I do a fair bit of PHP coding on my local machine here.
One of the most irritating aspects of that is when I change a bit of coding and run the browser, the modification fails to appear, as the browser shows the old cached version. This is particularly irritating if the code takes a length of time to run.
There is a very simple and effective fix.
Open php.ini and change the line opcache.enable=1 to opcache.enable=0
Problem solved.
I just wish I had found that years ago!
Comments
Prevent page caching on a development server — No Comments
HTML tags allowed in your comment: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>