Issue Feature Closed

#49064Support adding cookie free domain

Simon Schick 06/12/13, 15:07 updated 08/06/15, 12:01

Description

Hi, all

To use a cookie free domain for all your static content is a quite common use-case to speed up a high-traffic page.

The only plugin I found for doing so is ja_replacer. It catches the content, that is meant for indexing, and does a search/replace on a given string-set.

My problem now is, that on pages, containing no-cached content, this does not replace the paths set in the headerData and for the combined js- and css-files.

Therefore I request
  • either to add a hook to the TypoScriptFrontendController::setAbsRefPrefix() method
  • or implementing a functionality into the TYPO3 core, where I can set a url-mapping (most likely to add a domain in front of the path).

The benefit over using the hook $this->TYPO3_CONF_VARS[‘SC_OPTIONS’][‘tslib/class.tslib_fe.php’][‘tslib_fe-contentStrReplace’] is, that the output of the content, that’s been searched and replaced using the absRefPrefix configuration, is partly cached :)
I don’t know how huge this impact would be compared to the reduced loading-time …

Reviews 0

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