Skip to content

Conversation

@Fran-A-Dev
Copy link
Contributor

I added a how-to doc of WPGraphQL Smart Cache to separate it from the one long Apollo doc in the old Faust docs site.

@Fran-A-Dev
Copy link
Contributor Author

@kellenmace @moonmeister, let me know if this makes sense steps-wise. I tested the Faust hook for persisted queries, and it works.

I pointed to the WPGraphQL Smart Cache docs for further reference as well on in-depth instructions for the plugin.

@headless-platform-by-wp-engine

Check out the recent updates to your Headless Platform preview environment:

App Environment URL Build
faustjs.org preview-env-docs/how-to-wpgraphl-smart-cache https://h8…wered.com ✅ (logs)

Learn more about preview environments in our documentation.

@moonmeister
Copy link
Member

I did a quick look. Your callout isn't using the correct format. Check the readme for specifics. Also, let's add a step that shows them how to see if caching is working. Did you mention support for this is platform dependant? It might be worthwhile. Also I think step 4 was a little misleading on GET vs POST things. I'm in a rush, but overall, it looks good format-wise. When I'm back I can confirm steps are all working and accurate.

@colinmurphy
Copy link
Member

@Fran-A-Dev I will test out the docs today locally with Faust

@moonmeister
Copy link
Member

@Fran-A-Dev I did a big tweak here. Some of the images were misleading, and directions were a bit vague from the old doc, so I added more detail and better screenshots. If it looks good please merge!

@headless-platform-by-wp-engine

Check out the recent updates to your Headless Platform preview environment:

App Environment URL Build
faustjs.org preview-env-docs/how-to-wpgraphl-smart-cache https://h8…wered.com ✅ (logs)

Learn more about preview environments in our documentation.

@headless-platform-by-wp-engine

Check out the recent updates to your Headless Platform preview environment:

App Environment URL Build
faustjs.org preview-env-docs/how-to-wpgraphl-smart-cache https://h8…wered.com ✅ (logs)

Learn more about preview environments in our documentation.

@Fran-A-Dev
Copy link
Contributor Author

This makes more sense and looks good to me. I pulled the changes down locally and ran them. Looks good. I will merge.

@Fran-A-Dev Fran-A-Dev merged commit 2f124c1 into toolkit Jan 17, 2025
4 checks passed
@Fran-A-Dev Fran-A-Dev deleted the docs/how-to-wpgraphl-smart-cache branch January 17, 2025 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants