[TYPO3-english] TS Conditions for Internet Explorer
Sergio Catalá
scatala.enet at gmail.com
Wed Sep 4 14:23:11 CEST 2013
Hi Viktor,
On 04/09/13 11:52, Viktor Livakivskyi wrote:
> Hi, Sergio.
>
>> page.headerData.10 = TEXT
>> page.headerData.10 {
>> value =
>> typo3conf/ext/myextension/Resources/Public/Css/font_ie7.css
>> insertData = 1
>> wrap(
>> <!--[if lt IE 8]>
>> <link href="|"
>> media="screen" rel="stylesheet" type="text/css" />
>> <![endif]-->
>> )
>> }
>>
>
> I would recommend this variant, because more conditions you have in
> your TS - more evaluations are performed by TYPO3 by every page load
> (even for cached pages), which affects performance.
> Ideally you should have only conditions with language in your TS setup.
Thanks for your answer. For other side, I was just thinking that this
way there is "more HTML code" that has to be downloaded in the page,
every time, even if you're not using IE.
More information about the TYPO3-english
mailing list