Event calendar cache stuck [SOLVED]

Event calendar cache stuck [SOLVED]

Wednesday 01 September 2010 5:29:25 am - 3 replies

Modified on Tuesday 07 September 2010 1:11:45 pm by Lo' F.

Author Message

Ivo Lukac

Wednesday 01 September 2010 6:26:15 am

By embeding it into homepage it became a part of the homepage view cache. You can do several things:

- every night after midnight run bin/php/ezcontentcache.php script for clearing view cache for homepage node

- put some shorter TTL time in frontpage template, e.g. 2 hours: {set-block scope=root variable=cache_ttl}7200{/set-block}

- or show that calendar in some other way, e.g. in pagelayout, not through frontpage content node

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

Lo' F.

Friday 03 September 2010 7:36:36 am

- put some shorter TTL time in frontpage template, e.g. 2 hours: {set-block scope=root variable=cache_ttl}7200{/set-block}

Ivo, thank you so much! This TTL solution seems to work just fine.

p.s. Sorry for not having come back to you soon but needed to test and it took a day!

loredanaebook.it

Ivo Lukac

Sunday 05 September 2010 4:21:23 am

- put some shorter TTL time in frontpage template, e.g. 2 hours: {set-block scope=root variable=cache_ttl}7200{/set-block}

Ivo, thank you so much! This TTL solution seems to work just fine.

p.s. Sorry for not having come back to you soon but needed to test and it took a day!

The important thing is that the issue is solved :)

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.