This site has been archived. To learn more about our current products Ibexa Content, Ibexa Experience, Ibexa Commerce head over to the Ibexa Developer Portal

eZ Community » Forums » Extensions » eZ Flow » Is there a way to inmediatly show...

Is there a way to inmediatly show last published item (without waiting for cron?

Is there a way to inmediatly show last published item (without waiting for cron?

Wednesday 29 August 2012 8:54:24 pm - 1 reply


1. Its a news site.

2. We have multiple folders (International news, local news, sports, Health, Tech news, etc)

3. The main page is a Frontpage.

4. We only have two different types of content: Main Article and Article.

Is there a way to show a published article in the frontpage inmediatly after publishing it WITHOUT EZ flow?

Wednesday 29 August 2012 11:33:45 pm

You can use viewcache configuration so that whenever you publish an article, viewcache of homepage is expired.

Or, even easier, you can set the ttl for the view-cache of the homepage to a few minutes only. It will keep expiring, not based on content publication, but it will be fresh.

To display the articles, you of course just fetch them by hand in the template for the homepage.

If there's frequent creation of articles, or if you go for a low ttl, you should add cache-blocks inside the template to avoid recalculating the parts which do not change often.


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

36 542 Users on board!

Forums menu

Proudly Developed with from