faustjs icon indicating copy to clipboard operation
faustjs copied to clipboard

Ensure previews are not cached when using Faust templates

Open ChrisWiegman opened this issue 1 year ago • 1 comments

User Story (Required)

As a Faust user who uses previews in their Faust templates, I want to automatically have Apollo set no-fetch options and/or set a cache buster SHA on the URL so that I can get fresh data every time regardless of using Smart Cache/GET requests/persisted queries.

This was brought up by @Jason Bahl and someone in the WPGraphQL slack. This user has some good ideas on how they implemented it. Maybe we could implement something similar for all Faust users.

Acceptance Criteria (Required)

  • [ ] Previews used in Faust Templates are never cached.

Technical Details

  • TBD

Notes

  • TBD

ChrisWiegman avatar Feb 02 '24 16:02 ChrisWiegman

The example solution is unavailable now due to the limitations of free Slack accounts.

mindctrl avatar Feb 06 '24 14:02 mindctrl

Closing as a stale bug. As we focus more on the App Router we can revisit this should it be asked for.

ChrisWiegman avatar Mar 14 '24 16:03 ChrisWiegman