I haven’t found a clear answer to this within the community, so I’m hoping to get some insights here.
In my project, items on the page are bound to elements of a data collection. On different pages, users can update elements of the data collection. Given that page load speed is a priority , I’m wondering:
When is it better to use “Fetch Automatically” versus “Fetch via Page Workflow”?
It depends on your elements, variables and how you mutate the data. Hard to say what’s best when. The WW docs state how the automatic fetching works for reference.
Generally, I use it at a workflow level because I’m using filters on queries. I can then call the fetch when I need it which is often multiple times on one page.
If it’s more static content like a category lists on a shop, I just fetch the automatically as it will then cache and it’s set and done as I won’t be changing or interacting with it.