it's so annoying.
I'm working with Netbeans and Chrome (but other browers are not better) and i never know whether an error comes from last edited code or previosly edited.
app_dev.php suppose to take care of that, but its not.
I do not know whose cache is responsible for this: Netbeans, Symfony, Browsers.
How to contrain displaying latest version of my code?
edit
if do following steps its not work well:
if do following steps its work well:
Netbeans is an IDE. It will not cache any files I think. Try following this steps:
Ctrl+F5
in Chrome to refresh the page with discarding the browser cachephp app/console cache:clear --env=dev
after each source code modificationhttp://localhost/web/app_dev.php
@Olim pretty much covered it all. Only thing I would add is to try physically removing cache
directory and running cache:clear
again...
I had numerous problems with access rights of my IDE (phpStorm
in my case) which could not alter files stored in Apache
's default location (C:\Program Files\Apache...
). The main cause was the dreaded Windows's UAC
which prevented any program to write in some more sensitive locations.
To solve this you can either disable UAC
or you could set the proper ownership:
Properties
Security
tab, then Advanced
buttonOwner
tab and then Edit
buttonOther users and groups
and enter your username. Click OK
Replace owner on ....
Netbeans
, Chrome
, Apache
service...)Does it work now?