Skip Navigation

[Closed] Is it cache issue to the 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.

This topic contains 4 replies, has 2 voices.

Last updated by Christopher Amirian 1 year, 7 months ago.

Assisted by: Christopher Amirian.

Author
Posts
#2586569

Dear Sir/Madam,

Please refer to the screen recording hidden link, this is the view I created, don't know why the data is not up to date if I first visit on new tab even I refresh it. Until I click the reset button then I reload and show the lastest update record. If I open it on new tab, it is not correct, how can I force the view not using cache?

#2586685

Christopher Amirian
Supporter

Languages: English (English )

Screenshot 2023-04-04 at 15.07.54.png
Screenshot 2023-04-04 at 15.08.02.png

Hi there,

If you used blocks to create a view please follow the steps below to force the view not to cache:

- Go to the block editor.
- Click the top left hamburger menu to show the hierarchal view of the blocks.
- Select the View block
- On the sidebar on the right you will be able to see the Cache option and you can turn it off.

Please check the attached screenshots.

If you use classic view, add the cache disabling attribute in the shortcode that you use to show the view:

[wpv-view name="Your view" cached="off"]

Thank you

#2586737
Screenshot 2023-04-04 at 7.21.30 PM.png

Dear Christopher Amirian,

I use the Avada theme, not sure whether it is a block editor or not.

#2586841

Christopher Amirian
Supporter

Languages: English (English )

Hi there,

Yes you use the shortcode, so instead of the shortcode in the screenshot you mentioned, use:

{!{wpv-view name='membership-list' cached='off'}!}

That will force the view to turn off cache.

Thanks.

#2586843

Christopher Amirian
Supporter

Languages: English (English )

Hi there,

Yes you use the shortcode, so instead of the shortcode in the screenshot you mentioned, use:

{!{wpv-view name='membership-list' cached='off'}!}

That will force the view to turn off cache.

Thanks.

The topic ‘[Closed] Is it cache issue to the view?’ is closed to new replies.