Tell us what you are trying to do?
Caching views output
Is there any documentation that you are following?
No
Is there a similar example that we can see?
In my views list all the views allways have "Front End Output Cache = Not Cache"
What is the link to your site?
Hi,
Thank you for contacting us and I'd be happy to assist.
The way the built-in cache feature works for view, you can force it in two ways:
a). In a view created using the Blocks editor, you'll find a "Cache View" option under the main "View" block's settings.
( screenshot: hidden link )
b). For a view created using the classic views editor, you can force cache through cached="force" attribute in the views shortcode.
Example:
[wpv-view name="slug-of-view" cached="force"]
It is important to note however that there are certain conditions, which will force the view to not use the cached version, for example:
- if the view is using front-end sorting controls
- If the view contains a query filter that listens to the URL parameter
- if the view contains a nested view or a content template
- if the view is set to show posts in a random order
- if the view contains the "conditional" block
I hope this information helps and please let me know if you need any further assistance around this.
regards,
Waqar