Saltar navegación

[Resuelto] Disable the caching of a view

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.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Zona horaria del colaborador: Asia/Kolkata (GMT+05:30)

Este tema contiene 1 respuesta, tiene 1 mensaje.

Última actualización por Saul Baizman 3 months, 3 weeks ago.

Asistido por: Minesh.

Autor
Mensajes
#2847599
view detail - cache pages checkbox.png
views admin screen.png

Hi there,

I'm trying to disable the caching of a (legacy) view. Is that possible? I wish to avoid occasionally having to visit Dashboard > Toolset > Views and clicking the "Clear Cache" button in the "Frontend output cache" column. See "views admin screen.png."

And yes, I have unchecked the "Cache pages" checkbox on the view detail screen. See "view detail - cache pages checkbox.png."

Thanks!

Saul

#2847641

Minesh
Colaborador

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

In order to disable the view cache, you can add the attribute: cached="off"

For example:

[wpv-view name="your-view-slug" cached="off"]

More info:
- https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#wpv-view

#2847678

This is great. Thanks, Minesh! I appreciate it.