Feature #20175

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

Added by Christian Lange over 6 years ago. Updated about 5 years ago.

Status:Resolved Start date:2009-03-13
Priority:Should have Due date:
Assigned To:Chris topher % Done:

0%

Category:- Spent time: -
Target version:-
PHP Version:4.3 Sprint Focus:
Complexity:

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)


Related issues

related to Core - Bug #22546: Add a compressor/concatenator for CSS and JS to TYPO3 Closed 2010-04-29

History

#1 Updated by Christopher Hlubek over 6 years ago

Good idea! The re-login problem that occurs with old JavaScript files every now an then is pretty annoying.

#2 Updated by Chris topher about 5 years ago

Resolved with #22546.

Also available in: Atom PDF