Project

General

Profile

Actions

Feature #49064

closed

Support adding cookie free domain

Added by Simon Schick almost 11 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Content Rendering
Target version:
-
Start date:
2013-06-12
Due date:
% Done:

0%

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

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 ...

Actions

Also available in: Atom PDF