cotonti.com : Potential Cache issue https://www.cotonti.com Laatste forum onderwerpen Cotonti en Mon, 03 Nov 2025 12:00:05 -0000 aiwass Issue/Ticket created on GitHub regarding above.

]]>
Di, 20 Mei 2014 15:55:08 -0000
Trustmaster Honestly, nobody ever took this particular problem in consideration when creating the full-page cache feature. And it is quite important indeed.

We don't use Cron jobs because we don't want to force our users learning how to set it up. Yet we could use the cron-like plugin which runs tasks when smb. visits the site (e.g. administrator). We could write a complex algo detecting which particular pages need to be updated because of publication events, but generally you don't want static cache to exist forever and is OK if it gets wiped say every day or twice a day.

@aiwass: feel free to open an issue as it is definitiely an issue. @others: better solution ideas?

]]>
Di, 20 Mei 2014 07:31:45 -0000
aiwass From a test yesterday and today shows that if you run both $cfg['cache_index'] = TRUE; // Static page cache for guests on index and $cfg['cache_page'] = TRUE; // Static page cache for guests on pages and categories, it will render any updates or content that is to be released (future date) to not show when the date pasted. Meaning that once the future date becomes a already past date or time and it should appear, it doesn't, meaning it doesn't take into consideration the changes made on pagelist or recentitems.page.index (Recent_Pages). Shouldn't it do that?

Because if it doesn't take into account the new pages or changes or updates that are public, then there might be a flawn, in my opinion. Since trying to make your site load as fast as possible is damaged or hindered considerably when you can't cache as much as possible, yet have a bit of dynamic-ness left for new content to be shown.

I might be out, riding my bike on this one, but it feels like there should atleast be a cronjob or somekind of sensor triggering the new pages to appear and create a new cache, including the new content. New content is only shown to a logged in user, yet shows in both sitemap.xml and rss feed for guests, but not on the site when the above two cache values are set to TRUE.

If this indeed is a flaw, bug or an enhancement, then I will create a ticket for it, I just want to pick everyones brains a bit first.

 

]]>
Ma, 19 Mei 2014 16:30:15 -0000