Causes annoying bugs when cache enabled