Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for EP instant results custom proxy #411

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

roborourke
Copy link
Contributor

Reimplements the custom proxy from https://github.com/10up/elasticpress-proxy

Currently WIP, still to do:

  • Implement request signing for cloud environments
  • Come up with a way to cache the db query results that can be cleared on index/reindex so query only occurs on each container once. Will need to delete cache on reindex if possible

Fixes #410

Feature was revealed for v11 so should be backported to v11-branch.

Reimplements the custom proxy from https://github.com/10up/elasticpress-proxy

Currently WIP, still to do:

- [ ] Implement request signing for cloud environments
- [ ] Come up with a way to cache the db query results that can be cleared on index/reindex so query only occurs on each container once. Will need to delete cache on reindex if possible

Fixes #410

Feature was revealed for v11 so should be backported to v11-branch.
@roborourke roborourke marked this pull request as draft May 17, 2022 13:03
@roborourke
Copy link
Contributor Author

cc @stuartshields - it's functional like this on local but does a db query every time right now. Need to fix that and request signing / authentication by changing the curl stuff to use Guzzle directly. I'm away for a week so if you're able to work on it feel free, otherwise it'll be sometime the week after next before it's picked up again.

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.

Implement proxy endpoint for ElasticPress instant results
1 participant