What comes first? Charset or TTL declaration? ;)

What comes first? Charset or TTL declaration? ;)

Friday 19 December 2008 3:19:06 am - 2 replies

Modified on Friday 19 December 2008 4:21:38 am by Piotrek Karaś

Author Message

André R.

Friday 19 December 2008 3:39:43 am

Charset first, cache_ttl can be set anywhere in the template, also in sub templates if you remember to set scope=global. (but it will affect the whole view of course, so you can't define different ttl's for different parts of one view.)

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Piotrek Karaś

Friday 19 December 2008 4:22:02 am

Yup, just confirmed that, good to know, though. Thanks!

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.