Project

General

Profile

Actions

Feature #22376

closed

Introduce Automatic versioning of CSS and JS files

Added by Lars Houmark about 14 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Caching
Target version:
-
Start date:
2010-04-04
Due date:
% Done:

0%

Estimated time:
PHP Version:
5.3
Tags:
Complexity:
Sprint Focus:

Description

Included CSS and JS files is cached by the browser, but when one file is changed, the is often problems with the browsers ability to re-cache the changed file.
This leads into a backend that doesn't work correctly or have design flaws, which brings support questions from editors and so on.

Version number all these files in order to have a unique filename for every file. By using .htaccess rules, it is possible to create a virtual filename using the files modification time (filemtime). This way version numbering is fully automatic and the filename will change from filename.js to filename.1260819325.js.

Additional information is available in the TYPO3 core list where an RFC will be posted in a few minutes.
(issue imported from #M13998)


Files

13998.diff (11.1 KB) 13998.diff Administrator Admin, 2010-04-04 01:16
13998_v2.diff (11.1 KB) 13998_v2.diff Administrator Admin, 2010-04-04 09:45
13998_v3.diff (14.8 KB) 13998_v3.diff Administrator Admin, 2010-04-06 21:55
13998_v4.diff (15 KB) 13998_v4.diff Administrator Admin, 2010-04-07 10:36
13998_v7.diff (18.7 KB) 13998_v7.diff Administrator Admin, 2010-04-13 07:54

Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Feature #22387: rtehtmlare should use versionnumbering method for CSS and JS filesClosedStanislas Rolland2010-04-06

Actions
Related to TYPO3 Core - Bug #16483: browser cache problems when changing RTE cssClosedStanislas Rolland2006-08-22

Actions
Related to TYPO3 Core - Bug #22456: Add Automatic versioning of CSS and JS files mentioned in RFC #22376 to install toolClosedPatrick Broens2010-04-14

Actions
Actions #1

Updated by Lars Houmark about 14 years ago

Uploaded v7 which also makes frontend versioning of files possible.

This one is now pending in the core list, and will hopefully make it to 4.4beta1.

Actions #2

Updated by Benni Mack almost 14 years ago

is committed to trunk.

Actions #3

Updated by Susanne Moog about 13 years ago

  • Target version deleted (4.4.0)
Actions

Also available in: Atom PDF