Issue Bug Closed

#40409typo3temp/compressor is flooded with identical files

Jigal van Hemert 08/30/12, 10:47 updated 10/02/18, 12:16

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)

Reviews 0

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