Support the ongoing development of Laravel.io →
Cache Views
Last updated 1 year ago.
0

Your browser is also caching js and css. So try to hard reload (windows: strg + f5) the page.

Or disable the caching for you browser on your development site.

Last updated 1 year ago.
0

It isn't the browser, I've disabled cache, cleared the entire browser history and tried multiple browsers. Same problem.

Last updated 1 year ago.
0

If anyone else is having this problem, it's a Vagrant bug that affects both apache and nginx. To fix:

Apache: add # A VirtualBox bug forces vagrant to serve

corrupt files via Apache or nginx

The solution to that would be to turn off

the SendFile option in apache or nginx

If you use apache as your main web server

add this directive in your httpd.conf (or apache.conf)

configuration file name may vary in various systems

EnableSendfile off

If you use nginx as your main web server

add this directive in your nginx.conf

sendfile off

0

It works on my vagrant too! Here's the nginx pitfalls page for it. http://wiki.nginx.org/Pitfalls#Config_Changes_Not_Reflected

KevinCreel said:

If anyone else is having this problem, it's a Vagrant bug that affects both apache and nginx. To fix:

Apache: add # A VirtualBox bug forces vagrant to serve

corrupt files via Apache or nginx

The solution to that would be to turn off

the SendFile option in apache or nginx

If you use apache as your main web server

add this directive in your httpd.conf (or apache.conf)

configuration file name may vary in various systems

EnableSendfile off

If you use nginx as your main web server

add this directive in your nginx.conf

sendfile off

0

Sign in to participate in this thread!

Eventy

Your banner here too?

KevinCreel kevincreel Joined 22 Feb 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.