apluslms / mooc-grader

Automatic assessment framework compatible with A-plus LMS.
14 stars 30 forks source link

Add file modification time to urls provided to A+ #74

Open raphendyr opened 4 years ago

raphendyr commented 4 years ago

For example, with models and templates and so on, add modification time as a query parameter to the url, so browser knows to request a new version from the server. After this change, we can set higher cache time to the static files shared by the nginx.

raphendyr commented 4 years ago

About cache busting: https://stackoverflow.com/questions/9692665/cache-busting-via-params