Actions
Feature #20175
closedAutomatic add last-modified to resource files like javascript or css
Start date:
2009-03-13
Due date:
% Done:
0%
Estimated time:
PHP Version:
4.3
Tags:
Complexity:
Sprint Focus:
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)
Updated by Christopher Hlubek over 15 years ago
Good idea! The re-login problem that occurs with old JavaScript files every now an then is pretty annoying.
Actions