Title: Question Regarding New HTTP Persistent Connection Feature in Web Cmdlets · Issue #20713 · PowerShell/PowerShell · GitHub
Open Graph Title: Question Regarding New HTTP Persistent Connection Feature in Web Cmdlets · Issue #20713 · PowerShell/PowerShell
X Title: Question Regarding New HTTP Persistent Connection Feature in Web Cmdlets · Issue #20713 · PowerShell/PowerShell
Description: Summary of the new feature / enhancement One of the changes in 7.4.0 I'm the most excited for is the HTTP Connection Reuse (#19249) primarily to help speed up API calls with pagination where a call might need to be sent to the same endpo...
Open Graph Description: Summary of the new feature / enhancement One of the changes in 7.4.0 I'm the most excited for is the HTTP Connection Reuse (#19249) primarily to help speed up API calls with pagination where a call...
X Description: Summary of the new feature / enhancement One of the changes in 7.4.0 I'm the most excited for is the HTTP Connection Reuse (#19249) primarily to help speed up API calls with pagination where a ...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/20713
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Question Regarding New HTTP Persistent Connection Feature in Web Cmdlets","articleBody":"### Summary of the new feature / enhancement\n\nOne of the changes in 7.4.0 I'm the most excited for is the HTTP Connection Reuse (https://github.com/PowerShell/PowerShell/pull/19249) primarily to help speed up API calls with pagination where a call might need to be sent to the same endpoint 100+ times to retrieve all results. \r\n\r\nA fairly common example of that however is taking advantage of the -FollowRelLink parameter to only have a single Invoke-RestMethod command in my script. I can't find any documentation stating as such, but would that parameter by default take advantage of this new improvement without specifying a WebSession? Since there would rarely be a time you specified that parameter if you were not expecting multiple calls to be made. Or would a dummy call still have to be made first and thrown away just to obtain the WebSession variable for use?\n\n### Proposed technical implementation details (optional)\n\n_No response_","author":{"url":"https://github.com/JAK1047","@type":"Person","name":"JAK1047"},"datePublished":"2023-11-17T14:27:37.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":11},"url":"https://github.com/20713/PowerShell/issues/20713"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ea9cd74a-1a54-66ab-4c0e-b8a429e9361c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EDCC:3479ED:57ACEB:782408:6A5543DE |
| html-safe-nonce | 6c6548f6df6095872dda1eaadf5c85213dbf456d2eebcac37876b3a6404e94ab |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRENDOjM0NzlFRDo1N0FDRUI6NzgyNDA4OjZBNTU0M0RFIiwidmlzaXRvcl9pZCI6IjEzNzY0Njc1NzA1MzA3OTY1MTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2666ff5e1e76948ab60cdecdc0436984bf06c3f22b0cdcfee812b9d708f51e2e |
| hovercard-subject-tag | issue:1999255815 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/20713/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6ee19eb17977b59d3f95cf64221fe1b02d02dc2fe9f582f420cad669d50505f6/PowerShell/PowerShell/issues/20713 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6ee19eb17977b59d3f95cf64221fe1b02d02dc2fe9f582f420cad669d50505f6/PowerShell/PowerShell/issues/20713 |
| og:image:alt | Summary of the new feature / enhancement One of the changes in 7.4.0 I'm the most excited for is the HTTP Connection Reuse (#19249) primarily to help speed up API calls with pagination where a call... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | JAK1047 |
| hostname | github.com |
| expected-hostname | github.com |
| None | cd9eea424140838b22e9eabd53d92b5702617ddd6d76efcd3a37f08d44309ca5 |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3084b9f587e8f1e19803bbe0c77ac77ce3c99c5c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width