google chrome - silex and twig css cache issues - odd behavior -
i've run frustrating bug. can't reload changes in css file.
style.css seen in phpstorm looks like:
body { background-color: blue; } yet seen in chrome shows:
body { background-color: green; } here's odd behaviour: if change style.css "foo bar testing"
chrome displays as:
body { backgrou and also, if dump lot of arbitary text style.css, chrome displays as:
body { background-color: green; } ���������������������������������������������������������������...etc so chrome recognizes it's changed, fixed original text.
my twig options are:
$app['twig.options'] = array('cache' => false, 'auto_reload' => true); i've tried appending ?{{ random() }} style.css in effort force reloading no joy.
turns out issue running nginx withing virtualbox.
in /etc/nginx/nginx.conf sendfile needs off
Comments
Post a Comment