There seems to be a bug with the Linux vboxsf
driver in VirtualBox 5.x. Shared folders are getting cached when they're not supposed to. It's supposedly fixed in version 6.0.6.
If you can't update you can work around the issue by manually clearing the cache inside the VM before reloading the page in the browser:
echo 3 > /proc/sys/vm/drop_caches