General informations about JotCache extension

TOPIC: Problem with k2 and manual recache

Problem with k2 and manual recache 30 Jul 2018 11:51 #2192

Hello

It seems like K2 uses its own cache system to cache items even if jot cache expressly does not cache K2 component.

Is there a solution to add a jot cache query in our code to trigger a manual recache for some k2 urls ?

We'd like to set for instance index.php?option=com_k2&view=itemlist&Itemid=652&task=user&id=xxx&recache=ok in order to force joomla cache to recache k2 items.

Does recache=something exists in the component for a manual trigger ?

Or is it possible to stop main joomla cache and still get jot cache ?

Lastly what do you advise as cache system ? memcached or files ? knowing that our servers uses SSD.

Thanks for the help
best regards
Jean

Joomla version : 3.8
JotCache version : 6.2
site template: Joomshaper Helix Ultimate Bootstrap 4
system plugins : jchoptimize
The administrator has disabled public write access.

Problem with k2 and manual recache 31 Jul 2018 09:28 #2193

Based on our knowledge K2 uses Joomla system cache which is different one as page cache used by JotCache.

JotCache is not able to recache K2 items or categories.

No manual recache is known for manual trigger.

Yes, you can use enabled JotCache with disabled Joomla system cache. In this case you can have much longer page response times for the first access (when page is not yet cached).

For the caching is better to use memcached server as file system.
The memcached is faster and has automatic cache cleaning for expired items.
The administrator has disabled public write access.

Problem with k2 and manual recache 31 Jul 2018 10:04 #2194

Thanks for your explanation.

If Jotcache cannot recache K2 items, does it mean that K2 items cached are still expired at the end of Jotcache set time ?

We can work with this by removing special queries for K2.

As we work also with jch optimizer, it seems that first loading of pages are still acceptable
The administrator has disabled public write access.

Problem with k2 and manual recache 31 Jul 2018 17:32 #2195

If Jotcache cannot recache K2 items, does it mean that K2 items cached are still expired at the end of Jotcache set time ?

No. JotCache page cache expiration is independent from system cache. Page expiration in JotCache does not influence K2 caching.
The administrator has disabled public write access.

Problem with k2 and manual recache 02 Aug 2018 07:15 #2196

thanx for your opinion.it is very usefull information.

Joomla version : 3.8
JotCache version :
site template:
system plugins :
The administrator has disabled public write access.
Time to create page: 0.338 seconds
We have 43 guests and no members online
Copyright © 2015 JotComponents
We have 43 guests and no members online
Copyright © 2018 JotComponents