How to hardcode no "Time based expiration" ?

How to hardcode no "Time based expiration" ?

Tuesday 02 September 2008 8:53:44 am - 2 replies

Author Message

André R.

Tuesday 02 September 2008 9:34:19 am

set the value to 0 in the template.

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

Ivo Lukac

Tuesday 02 September 2008 9:37:33 am

Hi Nico,

No, it states that default value is hardcoded. It also states that value of zero will produce a cache block that will never expire.

So you do it like this:

{cache-block ignore_content_expiry expiry=0}
    {* something which never expiries*}
{/cache-block}
 

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

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.