faustjs
faustjs copied to clipboard
Ensure previews are not cached when using Faust templates
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
The example solution is unavailable now due to the limitations of free Slack accounts.
Closing as a stale bug. As we focus more on the App Router we can revisit this should it be asked for.