Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set no-cache flag when serving a file
Previously, a file served through FileServerMiddleware could be re-used by a client browser without asking the server whether there's a new version of the file. Now the client is told to always ask whether the file was changed instead of just using the cached file. This is necessary, e.g. if the contest admins make changes to a task statement during the contest, so contestants won't still get served the previous version they've already downloaded because the browser assumes it's a persistent file.
- Loading branch information