[Typo3] Adding header META/LINK in an extension.
Peter Huppertz
peter at futurmat.com
Fri Mar 18 14:16:06 CET 2005
Hi Joshua,
you can add header code by writing it in
$GLOBALS['TSFE']->pSetup['headerData']:
$GLOBALS['TSFE']->pSetup['headerData.']['xx'] = 'TEXT';
$GLOBALS['TSFE']->pSetup['headerData.']['xx.']['value'] =
$headerCode;
(xx = any number that is still avaible in the header-array)
Greets
Peter
Joshua Preston schrieb:
> Hey group,
>
> I was wondering if there were a way to modify the headers from an
> extension. I am writing a front end message system, and the RTE I'm
> using has 2 javascript includes. Looking at performance issues, I
> noticed that if I include the javascript source in the page (about
> 10k) page load times are horrendous. If I <LINK> them in the header,
> it downloads it once and cache's it tremendously reducing subsequent
> page load times.
>
> How would I go about this?
>
> Thanks!
>
> Joshua Preston.
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Typo3-english mailing list
>Typo3-english at lists.netfielders.de
>http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>
More information about the TYPO3-english
mailing list