Site: Endpoint UI, make the request wpcom only and only return plan data#6249
Merged
Site: Endpoint UI, make the request wpcom only and only return plan data#6249
Conversation
Member
Author
|
Other improvements I think we can make is
|
Contributor
|
@enejb what does this change do? Watching the network console, I'm seeing that the response times for both this and master are the same. I also noticed that the response json is the same as well. What does removing |
Member
Author
|
It grabs the data form the .com's shadow site instead of the going back to the Jetpack site to generate the data force=wpcom = jetpack Site -> wpcom -> data returns How are you testing the change? And timing it? |
Member
Author
Member
Author
lezama
approved these changes
Mar 8, 2017
Contributor
lezama
left a comment
There was a problem hiding this comment.
Ideally we should have a different endpoint for getting this.
samhotchkiss
pushed a commit
that referenced
this pull request
Mar 29, 2017
* Readme: remove old release and add skeleton for 4.8. * Changelog: add #6572 * Changelog: add #6567 * Changelog: add #6542 * Changelog: add #6527 * Changelog: add #6508 * Changelog: add #6478 * Changelog: add #6477 * Changelog: add #6249 * Update stable version and remove old version from readme. * Changelog: add 4.7.1 to changelog. * Readme: add new contributor. * Sync: update docblock @SInCE version. Related: #6053 * Changelog: add release post. * changelog: add #6053 * Changelog: add #6413 * Changelog: add #6482 * Changelog: add #6584 * Changelog add #6603 * Changelog: add #6606 * Changelog: add #6611 * Changelog: add #6635 * Changelog: add #6639 * Changelog: add #6684 * Changelog: add #6710 * Changelog: add #6711 * Changelog: add #5461 * Testing list: update Settings UI feedback prompt. Props @MichaelArestad * Changelog: add #6789 * Changelog: add #6778 * Changelog: add #6777 * Changelog: add #6775 * Changelog: add #6755 * Changelog: add #6731 * Changelog: add #6721 * Changelog: add #6705 * Changelog: add #6702 * Changelog: add #6671 * Changelog: add #6637 * Changelog: add #6582 * Changelog: add #6566 * Changelog: add #6555 * Changelog: add #6529 * Changelog: add #6344 * Changelog: add #5763 * Changelog: add #5503 * Changelog: update #6637 changelog. @see 40e115c#commitcomment-21523982 * Changelog: add #6699 * Changelog: add #6632 * Changelog: add #6769 * Changelog: add #6707 * Changelog: add #6590
zinigor
pushed a commit
that referenced
this pull request
Apr 19, 2017
This change will allow Jetpack sites higher permission when accessing the site api endpoint and retrieve the data from the shadow site directly. Code review in https://[private link] Related #6249 This was will also fix the Jetpacks plan page for users that default to using the Shadow site data. Merges r150232-wpcom.
zinigor
pushed a commit
that referenced
this pull request
Apr 21, 2017
This change will allow Jetpack sites higher permission when accessing the site api endpoint and retrieve the data from the shadow site directly. Code review in https://[private link] Related #6249 This was will also fix the Jetpacks plan page for users that default to using the Shadow site data. Merges r150232-wpcom.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




Make the request agains the shadow site.
Changes proposed in this Pull Request:
Testing instructions:
Does the plans page show up as expected?