Issue Feature Closed

#20175Automatic add last-modified to resource files like javascript or css

Christian Lange 03/13/09, 10:14 updated 10/02/18, 12:41

Description

To get rid of JavaScript or CSS-Layout problems in BE or FE be caused by browsercached files with same filename but different content, it would be nice to add the last-changed timestand behind the original filename to trigger explicit the browser reloading this file.

Like Ruby on Rails does:
<script src="/javascripts/prototype.js?1236758403" type="text/javascript"></script> or
<link href="/stylesheets/scm.css?1236758404" media="screen" rel="stylesheet" type="text/css">

(issue imported from #M10680)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.