Saltar navegación

[Resuelto] Is there a way to remove cache from SOME toolset block «views»

Este hilo está resuelto. Aquí tiene una descripción del problema y la solución.

Problem:

How to remove caching from Toolset View?

Solution:

A View block can be added in the block editor and if you select the View you will see the cache option on the right sidebar.
You can turn it off and on and it is related to each view block, so you can add a block without cache and add another view block with cache.

cache

For the classic view use the cache attribute when you use the views shortcode:

https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#vf-154377

This support ticket is created hace 2 años. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Este tema contiene 4 respuestas, tiene 2 mensajes.

Última actualización por a.R hace 2 años.

Asistido por: Christopher Amirian.

Autor
Mensajes
#2522331

a.R

There was a post about that 2 years ago, but there is written it might be outdated.

THANK YOU 🙂

#2522419

Christopher Amirian
Supporter

Idiomas: Inglés (English )

Screen Shot 2022-12-26 at 14.25.17.png
Screen Shot 2022-12-26 at 14.25.27.png

Hi there,

A View block can be added in the block editor and if you select the View you will see the cache option on the right sidebar.

You can turn it off and on and it is related to each view block, so you can add a block without cache and add another view block with cache.

Thanks.

#2523793

a.R

Ok, thank you.

Is it also possible in classic view?

#2523815

Christopher Amirian
Supporter

Idiomas: Inglés (English )

Hi there,

You can control the cache in classic view when you use the shortcode to call the view. Here is an example:

https://toolset.com/forums/topic/need-to-disable-caching-on-toolset-views-page-because-we-have-logged-in-users/#post-1158840

For more detailed information:

https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#vf-154377

Thanks.

#2523821

a.R

My issue is resolved now. Thank you!