adaptive-learning / matmat-web

MIT License
5 stars 3 forks source link

Static files - refresh #1

Closed jniznan closed 9 years ago

jniznan commented 10 years ago

Static files not refreshing properly - need to figure out why.

slaweet commented 10 years ago

Sounds like this issue: http://stackoverflow.com/questions/32414/how-can-i-force-clients-to-refresh-javascript-files If it is the case, then it's solved in slepemapy.cz by appending hash of the file to the URL https://github.com/proso/geography/blob/master/main/geography/views/base.py#L41-L42

thran commented 9 years ago

simple solution using https://docs.djangoproject.com/en/dev/ref/contrib/staticfiles/#cachedstaticfilesstorage

thran commented 9 years ago

a5b95c03c2a2b38b9a93d00c08eaa40a58635f7c