Skip to content

Instantly share code, notes, and snippets.

@TheRatG
Created January 25, 2014 06:36
Show Gist options
  • Save TheRatG/8612616 to your computer and use it in GitHub Desktop.
Save TheRatG/8612616 to your computer and use it in GitHub Desktop.
Disable cache file
What you're seeing is probably because the server serving the static files is using the "sendfile()" syscall, which is broken with the VirtualBox file system. You need to disable sendfile() usage in your server. For Apache:
EnableSendfile off
And for nginx:
sendfile off;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment