René's URL Explorer Experiment


Title: perf: Skip request-body compression for small payloads by vdusek · Pull Request #988 · apify/apify-client-python · GitHub

Open Graph Title: perf: Skip request-body compression for small payloads by vdusek · Pull Request #988 · apify/apify-client-python

X Title: perf: Skip request-body compression for small payloads by vdusek · Pull Request #988 · apify/apify-client-python

Description: Apify API client for Python—Programmatically run Actors, manage and stream data from storages (datasets, key-value stores, request queues), schedule and monitor runs, and access the full Apify platform API. Sync and async interfaces with automatic retries and pagination. - perf: Skip request-body compression for small payloads by vdusek · Pull Request #988 · apify/apify-client-python

Open Graph Description: Until now the Python client compressed every request body regardless of size. It now skips compression below 1024 B. Closes #934 Why 1024 B Parity with the JS client. It uses the same threshold, t...

X Description: Until now the Python client compressed every request body regardless of size. It now skips compression below 1024 B. Closes #934 Why 1024 B Parity with the JS client. It uses the same threshold, t...

Opengraph URL: https://github.com/apify/apify-client-python/pull/988

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:8b390c3b-62ef-e66e-317c-4d3eda70d84c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8AA0:102136:C9F124:10D376D:6B004FF6
html-safe-noncec948f02d73e8a2211c49699ead2740611fbed0db37ab5046b94527a9d18e4b25
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QUEwOjEwMjEzNjpDOUYxMjQ6MTBEMzc2RDo2QjAwNEZGNiIsInZpc2l0b3JfaWQiOiI0NTU1MDc5MjUyMTgxMTk2NzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacba18d949e4f33e7dd7a22b22660b74045a46c154b9deaa26d0945bc5270c3716
hovercard-subject-tagpull_request:4192471957
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/apify/apify-client-python/988/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/026174578c542f07f9cedb0a19e4e613c5c0a02867ae2459dbcfda06a1bb124c/apify/apify-client-python/pull/988
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/026174578c542f07f9cedb0a19e4e613c5c0a02867ae2459dbcfda06a1bb124c/apify/apify-client-python/pull/988
og:image:altUntil now the Python client compressed every request body regardless of size. It now skips compression below 1024 B. Closes #934 Why 1024 B Parity with the JS client. It uses the same threshold, t...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamevdusek
hostnamegithub.com
expected-hostnamegithub.com
Nonef420f4996e6b1ff1ccd6d7683f8134f4b5f0f8a50124c210dbfe7490e5644abb
turbo-cache-controlno-cache
go-importgithub.com/apify/apify-client-python git https://github.com/apify/apify-client-python.git
octolytics-dimension-user_id24586296
octolytics-dimension-user_loginapify
octolytics-dimension-repository_id164647835
octolytics-dimension-repository_nwoapify/apify-client-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id164647835
octolytics-dimension-repository_network_root_nwoapify/apify-client-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release26e00df917aba0f128135dc073ea0c5e33a70d40
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/apify/apify-client-python/pull/988#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapify%2Fapify-client-python%2Fpull%2F988
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapify%2Fapify-client-python%2Fpull%2F988
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=apify%2Fapify-client-python
Reloadhttps://github.com/apify/apify-client-python/pull/988
Reloadhttps://github.com/apify/apify-client-python/pull/988
Reloadhttps://github.com/apify/apify-client-python/pull/988
apifyhttps://github.com/apify
apify-client-pythonhttps://github.com/apify/apify-client-python
Codehttps://github.com/apify/apify-client-python
Issues12 (12)https://github.com/apify/apify-client-python/issues
Pull requests2 (2)https://github.com/apify/apify-client-python/pulls
Discussionshttps://github.com/apify/apify-client-python/discussions
Actionshttps://github.com/apify/apify-client-python/actions
Security and qualityhttps://github.com/apify/apify-client-python/security
Insightshttps://github.com/apify/apify-client-python/insights
https://github.com/apify/apify-client-python
vdusekhttps://github.com/vdusek
masterhttps://github.com/apify/apify-client-python/tree/master
worktree-compress-threshold-934https://github.com/apify/apify-client-python/tree/worktree-compress-threshold-934
Conversationhttps://github.com/apify/apify-client-python/pull/988
Commits12 (12)https://github.com/apify/apify-client-python/pull/988/commits
Checkshttps://github.com/apify/apify-client-python/pull/988/checks
Files changedhttps://github.com/apify/apify-client-python/pull/988/files
perf: Skip request-body compression for small payloadshttps://github.com/apify/apify-client-python/pull/988#top
vdusekhttps://github.com/vdusek
masterhttps://github.com/apify/apify-client-python/tree/master
worktree-compress-threshold-934https://github.com/apify/apify-client-python/tree/worktree-compress-threshold-934
https://github.com/vdusek
vdusekhttps://github.com/vdusek
Aug 3, 2026https://github.com/apify/apify-client-python/pull/988#issue-5047659768
Please reload this pagehttps://github.com/apify/apify-client-python/pull/988
#934https://github.com/apify/apify-client-python/issues/934
Please reload this pagehttps://github.com/apify/apify-client-python/pull/988
https://github.com/vdusek
perf: Skip request-body compression for small payloadshttps://github.com/apify/apify-client-python/pull/988/commits/26f362b1a46610f5b03b86585530471a254f4a1a
26f362bhttps://github.com/apify/apify-client-python/pull/988/commits/26f362b1a46610f5b03b86585530471a254f4a1a
https://github.com/vdusek
vdusekhttps://github.com/vdusek
t-tooling https://github.com/apify/apify-client-python/issues?q=state%3Aopen%20label%3At-tooling
Aug 3, 2026https://github.com/apify/apify-client-python/pull/988#event-28875175479
https://github.com/vdusek
vdusekhttps://github.com/vdusek
Aug 3, 2026https://github.com/apify/apify-client-python/pull/988#event-28875176679
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
146th sprint - Tooling teamhttps://github.com/apify/apify-client-python/milestone/725
Aug 3, 2026https://github.com/apify/apify-client-python/pull/988#event-28875184102
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
tested https://github.com/apify/apify-client-python/issues?q=state%3Aopen%20label%3Atested
Aug 3, 2026https://github.com/apify/apify-client-python/pull/988#event-28875184626
https://github.com/apps/codecov
codecovhttps://github.com/apps/codecov
Aug 3, 2026https://github.com/apify/apify-client-python/pull/988#issuecomment-5163847896
Please reload this pagehttps://github.com/apify/apify-client-python/pull/988
Codecovhttps://app.codecov.io/gh/apify/apify-client-python/pull/988?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify
808bddehttps://app.codecov.io/gh/apify/apify-client-python/commit/808bdde06ed1befe9d30bede0f947320240747a6?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify
d112162https://app.codecov.io/gh/apify/apify-client-python/commit/d112162e74519e9f650560077e178bdebf0fdeff?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify
Flaghttps://app.codecov.io/gh/apify/apify-client-python/pull/988/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify
integrationhttps://app.codecov.io/gh/apify/apify-client-python/pull/988/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify
unithttps://app.codecov.io/gh/apify/apify-client-python/pull/988/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify
Click herehttps://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify#carryforward-flags-in-the-pull-request-comment
☔ View full report in Codecov by Harnesshttps://app.codecov.io/gh/apify/apify-client-python/pull/988?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify
Share it herehttps://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify
Test Analyticshttps://docs.codecov.com/docs/test-analytics
JS Bundle Analysishttps://docs.codecov.com/docs/javascript-bundle-analysis
Please reload this pagehttps://github.com/apify/apify-client-python/pull/988
vdusekhttps://github.com/vdusek
August 3, 2026 10:48https://github.com/apify/apify-client-python/pull/988#commits-pushed-746449f
https://github.com/vdusek
test: Tighten the request-body compression testshttps://github.com/apify/apify-client-python/pull/988/commits/746449f44161b2179527bbb6a3253afbc911f2f8
746449fhttps://github.com/apify/apify-client-python/pull/988/commits/746449f44161b2179527bbb6a3253afbc911f2f8
https://github.com/vdusek
fix: Measure the async compression offload threshold in encoded byteshttps://github.com/apify/apify-client-python/pull/988/commits/35f68ac1a1b9ffd04b6a8d34ce225a0a61e74534
35f68achttps://github.com/apify/apify-client-python/pull/988/commits/35f68ac1a1b9ffd04b6a8d34ce225a0a61e74534
https://github.com/vdusek
test: Restore end-to-end coverage of the configured request compressionhttps://github.com/apify/apify-client-python/pull/988/commits/95fbece0042178c809fc8f49a94adbc3455dbb30
95fbecehttps://github.com/apify/apify-client-python/pull/988/commits/95fbece0042178c809fc8f49a94adbc3455dbb30
https://github.com/vdusek
docs: Link the minimum body size section from the custom compressor e…https://github.com/apify/apify-client-python/pull/988/commits/758cdfe1d0db33da90d9a79ce50901d9f88a7b58
758cdfehttps://github.com/apify/apify-client-python/pull/988/commits/758cdfe1d0db33da90d9a79ce50901d9f88a7b58
https://github.com/vdusek
docs: Soften the claim that compressing a small body makes it largerhttps://github.com/apify/apify-client-python/pull/988/commits/023f192f5ffbd5a4eac85e0b16a90264e9b3fbf9
023f192https://github.com/apify/apify-client-python/pull/988/commits/023f192f5ffbd5a4eac85e0b16a90264e9b3fbf9
https://github.com/vdusek
docs: Shorten the MIN_COMPRESSION_SIZE docstringhttps://github.com/apify/apify-client-python/pull/988/commits/2f15848d11df4866dde754dcc1d0e2365575a503
2f15848https://github.com/apify/apify-client-python/pull/988/commits/2f15848d11df4866dde754dcc1d0e2365575a503
https://github.com/vdusek
docs: Tighten the request-body compression docstrings and commentshttps://github.com/apify/apify-client-python/pull/988/commits/a25a6ef38433053b174f3163210e4a545b152acd
a25a6efhttps://github.com/apify/apify-client-python/pull/988/commits/a25a6ef38433053b174f3163210e4a545b152acd
https://github.com/vdusek
vdusekhttps://github.com/vdusek
August 3, 2026 10:10https://github.com/apify/apify-client-python/pull/988#event-28880888757
https://github.com/vdusek
vdusekhttps://github.com/vdusek
szaganekhttps://github.com/szaganek
code ownerhttps://github.com/apify/apify-client-python/blob/ac95e35fb98ea630c603c9ce3a08db1c4b438edf/.github/CODEOWNERS#L4
August 3, 2026 10:10https://github.com/apify/apify-client-python/pull/988#event-28880889351
https://github.com/vdusek
vdusekhttps://github.com/vdusek
Mantisushttps://github.com/Mantisus
August 3, 2026 10:13https://github.com/apify/apify-client-python/pull/988#event-28881036565
https://github.com/szaganek
szaganekhttps://github.com/szaganek
Aug 3, 2026 https://github.com/apify/apify-client-python/pull/988#pullrequestreview-4844377277
View reviewed changes https://github.com/apify/apify-client-python/pull/988/files/a25a6ef38433053b174f3163210e4a545b152acd
docs/02_concepts/13_http_compression.mdxhttps://github.com/apify/apify-client-python/pull/988/files/a25a6ef38433053b174f3163210e4a545b152acd#diff-c40cd9831ae92dbd1bd32bfb20c9636a1c9304d7eb2c9e6ab137f64ecbba688a
Please reload this pagehttps://github.com/apify/apify-client-python/pull/988
vdusekhttps://github.com/vdusek
August 3, 2026 15:19https://github.com/apify/apify-client-python/pull/988#commits-pushed-a0b2972
https://github.com/vdusek
https://github.com/szaganek
Update docs/02_concepts/13_http_compression.mdxhttps://github.com/apify/apify-client-python/pull/988/commits/a0b297272b904370861acf26ec1bc06557ec97d8
a0b2972https://github.com/apify/apify-client-python/pull/988/commits/a0b297272b904370861acf26ec1bc06557ec97d8
https://github.com/vdusek
Merge remote-tracking branch 'origin/master' into worktree-compress-t…https://github.com/apify/apify-client-python/pull/988/commits/6717ac067faf9014e243201e0f0fad7213bfbd33
6717ac0https://github.com/apify/apify-client-python/pull/988/commits/6717ac067faf9014e243201e0f0fad7213bfbd33
https://github.com/vdusek
test: Size KVS file-like values above the compression thresholdhttps://github.com/apify/apify-client-python/pull/988/commits/715fd1c0e9e89e04bdda87d0d986a7caa2810890
715fd1chttps://github.com/apify/apify-client-python/pull/988/commits/715fd1c0e9e89e04bdda87d0d986a7caa2810890
https://github.com/Mantisus
Mantisushttps://github.com/Mantisus
Aug 3, 2026 https://github.com/apify/apify-client-python/pull/988#pullrequestreview-4845195686
View reviewed changes https://github.com/apify/apify-client-python/pull/988/files/715fd1c0e9e89e04bdda87d0d986a7caa2810890
Mantisushttps://github.com/Mantisus
https://github.com/apify/apify-client-python/pull/988#pullrequestreview-4845195686
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/apify/apify-client-python/pull/988
https://github.com/vdusek
vdusekhttps://github.com/vdusek
B4nanhttps://github.com/B4nan
August 3, 2026 14:40https://github.com/apify/apify-client-python/pull/988#event-28894432241
https://github.com/B4nan
B4nanhttps://github.com/B4nan
Aug 3, 2026 https://github.com/apify/apify-client-python/pull/988#pullrequestreview-4845535543
View reviewed changes https://github.com/apify/apify-client-python/pull/988/files/715fd1c0e9e89e04bdda87d0d986a7caa2810890
https://github.com/vdusek
Merge remote-tracking branch 'origin/master' into worktree-compress-t…https://github.com/apify/apify-client-python/pull/988/commits/d112162e74519e9f650560077e178bdebf0fdeff
d112162https://github.com/apify/apify-client-python/pull/988/commits/d112162e74519e9f650560077e178bdebf0fdeff
https://github.com/vdusek
vdusekhttps://github.com/vdusek
6bd31b2https://github.com/apify/apify-client-python/commit/6bd31b2abb840ea9af1efc98bf984c85b8510ce3
Aug 3, 2026https://github.com/apify/apify-client-python/pull/988#event-28896833241
Please reload this pagehttps://github.com/apify/apify-client-python/pull/988
https://github.com/vdusek
vdusekhttps://github.com/vdusek
August 3, 2026 15:21https://github.com/apify/apify-client-python/pull/988#event-28896834699
https://github.com/vdusek
vdusekhttps://github.com/vdusek
Aug 3, 2026 https://github.com/apify/apify-client-python/pull/988#ref-pullrequest-5051573319
fix: Respect caller-supplied Content-Encoding for pre-compressed request bodies #997 https://github.com/apify/apify-client-python/pull/997
vdusekhttps://github.com/vdusek
Aug 4, 2026 https://github.com/apify/apify-client-python/pull/988#ref-commit-b5541c9
https://github.com/vdusek
fix: Respect caller-supplied Content-Encoding for pre-compressed requ…https://github.com/apify/apify-client-python/commit/b5541c919923f69d537b4062e21c1f3c46396c7a
b5541c9https://github.com/apify/apify-client-python/commit/b5541c919923f69d537b4062e21c1f3c46396c7a
#997https://github.com/apify/apify-client-python/pull/997
#987https://github.com/apify/apify-client-python/pull/987
#987https://github.com/apify/apify-client-python/pull/987
#987https://github.com/apify/apify-client-python/pull/987
#988https://github.com/apify/apify-client-python/pull/988
#987https://github.com/apify/apify-client-python/pull/987
#965https://github.com/apify/apify-client-python/pull/965
#996https://github.com/apify/apify-client-python/issues/996
https://github.co/hiddenchars
https://github.com/apify/apify-client-python/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapify%2Fapify-client-python%2Fpull%2F988
https://github.com/B4nan
B4nan https://github.com/B4nan
https://github.com/apify/apify-client-python/pull/988/files/715fd1c0e9e89e04bdda87d0d986a7caa2810890
https://github.com/szaganek
szaganek https://github.com/szaganek
https://github.com/apify/apify-client-python/pull/988/files/a25a6ef38433053b174f3163210e4a545b152acd
https://github.com/Mantisus
Mantisus https://github.com/Mantisus
https://github.com/apify/apify-client-python/pull/988/files/715fd1c0e9e89e04bdda87d0d986a7caa2810890
Please reload this pagehttps://github.com/apify/apify-client-python/pull/988
https://github.com/vdusek
vdusek https://github.com/vdusek
t-tooling https://github.com/apify/apify-client-python/issues?q=state%3Aopen%20label%3At-tooling
tested https://github.com/apify/apify-client-python/issues?q=state%3Aopen%20label%3Atested
146th sprint - Tooling team https://github.com/apify/apify-client-python/milestone/725
Skip request-body compression for small payloads https://github.com/apify/apify-client-python/issues/934
Please reload this pagehttps://github.com/apify/apify-client-python/pull/988
https://github.com/vdusek
https://github.com/B4nan
https://github.com/Mantisus
https://github.com/szaganek
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.