Navigation überspringen

[Gelöst] Disable the caching of a view

This support ticket is created vor 3 months, 3 weeks. 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.

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 -

Zeitzone des Unterstützers: Asia/Kolkata (GMT+05:30)

Dieses Thema enthält 1 reply, hat 1 Stimme.

Zuletzt aktualisiert von Saul Baizman vor 3 months, 3 weeks.

Assistiert von: Minesh.

Author
Artikel
#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
Unterstützer

Sprachen: Englisch (English )

Zeitzone: 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.