Announcement Announcement Module
Collapse
No announcement yet.
Spring MVC support for versioning of static assets Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring MVC support for versioning of static assets

    Does Spring MVC support versioning of static assets (css, js and images )
    by appending the last-modified-date to the asset file names which effectively serves,
    caches, and invalidates the assets automatically ?

    Rails supports this by using the asset_tag helpers.

    I want to add the last-modified-date attribute of a file as a query parameter to serve static assets from the server,
    so that if I modify the static files (css, js, images) I do not have to modify my code and cache invalidation can happen automatically.

    thank you
Working...
X