Is it possible to implement site search and archive pages by making GraphQL to the wordpress endpoint from frontend at runtime? #30298
Unanswered
meekmachine
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I have a wordpress site I am working on building a Gatsby front-end for. We have over five years of content--10k+ articles, at least. I was wondering if you had ever considered handling archive pages and site search from the front end, and pull data from the Word press GraphQL endpoint directly at runtime? Especially since speed is not so huge a a consideration with archives and site search I think this would be useful and it would greatly cut down the overhead spent on servers.
I realize this might not be that consistent with Gatsby's design philosophy. However, it still seems like this would be a really useful thing to have.
Please let me know your thoughts.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions