hassanakbar4 / mailarchive-tickets

0 stars 0 forks source link

Implement versioned static resources #163

Closed hassanakbar4 closed 2 years ago

hassanakbar4 commented 7 years ago

component_MailArchive: User Interface resolution_fixed type_enhancement | by rcross@amsl.com


In order to avoid issues caused by cached out-of-date resource files, implement versioned URLs.

From Henrik

If /static/mlarchive/js/mailarch-1.0.js is served through CDN, you might want to have a look at the way the datatracker CDN-served static files are handled.

Basically, I've set up things so that the {% static %} template tag expands to a path which contains the release number; the directories under that path are filled appropriately from the release materials when running 'manage.py collectstatic'.


Issue migrated from trac:2163 at 2021-09-22 16:48:22 +0500

hassanakbar4 commented 7 years ago

@hassanakbar4 changed status from new to closed

hassanakbar4 commented 7 years ago

@hassanakbar4 changed resolution from ` tofixed`

hassanakbar4 commented 7 years ago

@hassanakbar4 commented


Fixed in [572]:

Fixes #2163. Add version to static file path.