[TYPO3-project-4-3] Header / Footer class for BE and FE
Steffen Kamper
info at sk-typo3.de
Tue Jun 16 10:53:08 CEST 2009
Hi,
Martin Kutschker schrieb:
> Steffen Kamper schrieb:
>> Hi,
>>
>> Martin Kutschker schrieb:
>>> In case it goes to the Core: please generalize before 4.3 is shipped.
>>>
>> yes, will do.
>>
>>> I still wonder why I would need that property.
>>>
>> for very easy reasons: page will render faster if JS is placed at end of
>> page. This is suggested by many experts, like YUI speed up tips or Yslow.
>
> Why can't I simply use the new inlineFooterJS property? Or do you mean
> to move all code from the HTML header header section (before the body)
> to end of the body? In this case IMHO a includeFooterJS seems appropriate.
>
> Moving all Js code - even code that is placed deliberately at a certain
> point in the documet - seems odd to me.
>
> Or to put it the other way: why use inlineFooterJS if
> moveJStoDocumentEnd does the job for you?
>
reason is simple. For sure you can do it by yourself, but having a site
where the JS is assigned already (like inline written by core,
extensions or former TS settings), you can move these ones to footer also.
vg Steffen
More information about the TYPO3-project-4-3
mailing list