PDA

Просмотр полной версии : $GLOBALS['TSFE']->additionalHeaderData and caching


typo27
13.05.2009, 21:10
Privet,

I am making USER (cached) plugin.
In pi1 php I put some css/js file:


$GLOBALS['TSFE']->additionalHeaderData[$this->extKey]= $some_css_js_files;


When caching page, in head I see
<!--HD_a4a1240e6a1c18d040c473c1ae7d3ec4-->
instead of css/js files. So additional header is not generated yet, meanwhile plugin content is - because it is USER.

How come additional header is not generated yet?
(in another USER plugin this works ok).

Does anybody know what can be reason for additional header data not being generated (for USER plugin!) when page is cached?

Sposibo

typo27
13.05.2009, 22:41
Naverno gliuchit typo3 4.3.0 alfa,
na typo3 4.2.6 vsio normalno.