Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Serve non-cacheable files with a max-age of 0 instead of a day
We previously served non-cacheable files with a max-age of a day. This was done to avoid image flickering on page reload (see meteor#773). As far as I can tell, image flickering still occurs because `location.reload` always forces validation. But switching to `location.replace` means that max-age will actually be respected, and we don't want to cache these assets for a day because then changes would not be visible on reloads.
- Loading branch information