Project

General

Profile

Actions

Bug #40409

closed

typo3temp/compressor is flooded with identical files

Added by Jigal van Hemert over 11 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
Frontend
Target version:
-
Start date:
2012-08-30
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.6
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

If absRefPrefix is set the result of inlineStyle2TempFile is returned with absRefPrefix prepended. If this is a fully qualified URL t3lib_Compressor::createMergedFile() will download the contents to a temporary file on each page. Even though the contents and the filename of this temporary file stay the same the modified timestamp is altered and thus a new merged file is created in typo3temp/compressor/.

In one installation we found 26 GB of identical CSS files.

Possible solutions:
  • detect if 'external' file is in fact local file and handle it as local
  • exclude 'external' files from merge/compress
  • option to exclude inlineStyle2TempFile result from merging/compressing (would mean new feature)

Files

40409-46.patch (26.7 KB) 40409-46.patch Ivan Dharma Kartolo, 2012-09-01 19:30
40409-46.patch (886 Bytes) 40409-46.patch Ivan Dharma Kartolo, 2012-09-01 19:40

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #52597: Compressor: Fetch external files correctlyRejected2013-10-07

Actions
Actions

Also available in: Atom PDF