René's URL Explorer Experiment


Title: Add cached property to the response by mtzfederico · Pull Request #54 · ipinfo/python · GitHub

Open Graph Title: Add cached property to the response by mtzfederico · Pull Request #54 · ipinfo/python

X Title: Add cached property to the response by mtzfederico · Pull Request #54 · ipinfo/python

Description: This PR adds a cached property to the response. This lets you check if the response was cached or not.

Open Graph Description: This PR adds a cached property to the response. This lets you check if the response was cached or not.

X Description: This PR adds a cached property to the response. This lets you check if the response was cached or not.

Opengraph URL: https://github.com/ipinfo/python/pull/54

X: @github

direct link

Domain: github.com

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:5c545b30-1a4a-ab6f-14e4-e89c3f8ec022
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDA3E:B7AC4:463FD2:625E62:6978B66B
html-safe-nonceb5f4ce72eca7c5e2882647c2dde663e1c1f2f9c3969c94e799d8d3c2a5cb5312
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQTNFOkI3QUM0OjQ2M0ZEMjo2MjVFNjI6Njk3OEI2NkIiLCJ2aXNpdG9yX2lkIjoiODIxMzA2NzI2ODEzMzI3MTE0OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmace252a7cafaf69548fb1f743707f35fa0690d2ab6ee8340503e61e9196d962854
hovercard-subject-tagpull_request:684575297
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/ipinfo/python/54/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/d5fb6b591f311794fb8480a6825f915fefcc39ab57242d79a3bb41aa6fd5f6b5/ipinfo/python/pull/54
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d5fb6b591f311794fb8480a6825f915fefcc39ab57242d79a3bb41aa6fd5f6b5/ipinfo/python/pull/54
og:image:altThis PR adds a cached property to the response. This lets you check if the response was cached or not.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemtzfederico
hostnamegithub.com
expected-hostnamegithub.com
None2981c597c945c1d90ac6fa355ce7929b2f413dfe7872ca5c435ee53a24a1de50
turbo-cache-controlno-preview
go-importgithub.com/ipinfo/python git https://github.com/ipinfo/python.git
octolytics-dimension-user_id15721521
octolytics-dimension-user_loginipinfo
octolytics-dimension-repository_id145909218
octolytics-dimension-repository_nwoipinfo/python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id145909218
octolytics-dimension-repository_network_root_nwoipinfo/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
releasef8aa86d87c47054170094daaf9699b27a28a8448
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/ipinfo/python/pull/54#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fipinfo%2Fpython%2Fpull%2F54
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fipinfo%2Fpython%2Fpull%2F54
Sign up https://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=ipinfo%2Fpython
Reloadhttps://github.com/ipinfo/python/pull/54
Reloadhttps://github.com/ipinfo/python/pull/54
Reloadhttps://github.com/ipinfo/python/pull/54
ipinfo https://github.com/ipinfo
pythonhttps://github.com/ipinfo/python
Notifications https://github.com/login?return_to=%2Fipinfo%2Fpython
Fork 118 https://github.com/login?return_to=%2Fipinfo%2Fpython
Star 543 https://github.com/login?return_to=%2Fipinfo%2Fpython
Code https://github.com/ipinfo/python
Issues 2 https://github.com/ipinfo/python/issues
Pull requests 6 https://github.com/ipinfo/python/pulls
Actions https://github.com/ipinfo/python/actions
Projects 0 https://github.com/ipinfo/python/projects
Security 0 https://github.com/ipinfo/python/security
Insights https://github.com/ipinfo/python/pulse
Code https://github.com/ipinfo/python
Issues https://github.com/ipinfo/python/issues
Pull requests https://github.com/ipinfo/python/pulls
Actions https://github.com/ipinfo/python/actions
Projects https://github.com/ipinfo/python/projects
Security https://github.com/ipinfo/python/security
Insights https://github.com/ipinfo/python/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fipinfo%2Fpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fipinfo%2Fpython%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/ipinfo/python/pull/54#issue-comment-box
mtzfedericohttps://github.com/mtzfederico
ipinfo:masterhttps://github.com/ipinfo/python/tree/master
Add cached property to the response https://github.com/ipinfo/python/pull/54#top
mtzfedericohttps://github.com/mtzfederico
ipinfo:masterhttps://github.com/ipinfo/python/tree/master
Conversation 8 https://github.com/ipinfo/python/pull/54
Commits 6 https://github.com/ipinfo/python/pull/54/commits
Checks 0 https://github.com/ipinfo/python/pull/54/checks
Files changed https://github.com/ipinfo/python/pull/54/files
Please reload this pagehttps://github.com/ipinfo/python/pull/54
https://github.co/hiddenchars
https://github.com/ipinfo/python/pull/{{ revealButtonHref }}
https://github.com/mtzfederico
mtzfedericohttps://github.com/mtzfederico
Jul 6, 2021https://github.com/ipinfo/python/pull/54#issue-938135838
Please reload this pagehttps://github.com/ipinfo/python/pull/54
mtzfedericohttps://github.com/mtzfederico
July 6, 2021 12:49https://github.com/ipinfo/python/pull/54#commits-pushed-321ed5f
https://github.com/mtzfederico
Added a cached atribute to the responsehttps://github.com/ipinfo/python/pull/54/commits/321ed5fdeb90bcf3d3c048a75a9baa8862fc965d
321ed5fhttps://github.com/ipinfo/python/pull/54/commits/321ed5fdeb90bcf3d3c048a75a9baa8862fc965d
https://github.com/mtzfederico
Added a cached atribute to the responsehttps://github.com/ipinfo/python/pull/54/commits/17342b035fe70392263d85ef5422ef3ab6b52c6c
17342b0https://github.com/ipinfo/python/pull/54/commits/17342b035fe70392263d85ef5422ef3ab6b52c6c
https://github.com/mtzfederico
Update README.mdhttps://github.com/ipinfo/python/pull/54/commits/241650cec3bef36738291691718e5bc7c4167f67
241650chttps://github.com/ipinfo/python/pull/54/commits/241650cec3bef36738291691718e5bc7c4167f67
https://github.com/mtzfederico
Removed Commenthttps://github.com/ipinfo/python/pull/54/commits/9a97fa7d09e6127bee5a9a3eb6c2236e2274c942
9a97fa7https://github.com/ipinfo/python/pull/54/commits/9a97fa7d09e6127bee5a9a3eb6c2236e2274c942
https://github.com/UmanShahzad
UmanShahzadhttps://github.com/UmanShahzad
Jul 6, 2021 https://github.com/ipinfo/python/pull/54#pullrequestreview-700244304
View reviewed changes https://github.com/ipinfo/python/pull/54/files/9a97fa7d09e6127bee5a9a3eb6c2236e2274c942
UmanShahzadhttps://github.com/UmanShahzad
https://github.com/ipinfo/python/pull/54#pullrequestreview-700244304
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@mtzfedericohttps://github.com/mtzfederico
Please reload this pagehttps://github.com/ipinfo/python/pull/54
README.mdhttps://github.com/ipinfo/python/pull/54/files/9a97fa7d09e6127bee5a9a3eb6c2236e2274c942#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
UmanShahzadhttps://github.com/UmanShahzad
Jul 6, 2021https://github.com/ipinfo/python/pull/54#discussion_r664774261
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/ipinfo/python/pull/54
ipinfo/handler.pyhttps://github.com/ipinfo/python/pull/54/files/9a97fa7d09e6127bee5a9a3eb6c2236e2274c942#diff-f331e39591cef1b3b4fdba81f0393cb875f9ce7343a411147e4896fc6554bfe3
UmanShahzadhttps://github.com/UmanShahzad
Jul 6, 2021https://github.com/ipinfo/python/pull/54#discussion_r664775106
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/ipinfo/python/pull/54
https://github.com/mtzfederico
mtzfedericohttps://github.com/mtzfederico
Jul 6, 2021https://github.com/ipinfo/python/pull/54#issuecomment-875018268
Please reload this pagehttps://github.com/ipinfo/python/pull/54
mtzfedericohttps://github.com/mtzfederico
July 6, 2021 14:20https://github.com/ipinfo/python/pull/54#commits-pushed-76c9d8a
https://github.com/mtzfederico
Removed importhttps://github.com/ipinfo/python/pull/54/commits/76c9d8a35e2e8d48939a772e38192c5584f6e090
76c9d8ahttps://github.com/ipinfo/python/pull/54/commits/76c9d8a35e2e8d48939a772e38192c5584f6e090
https://github.com/mtzfederico
Update README.mdhttps://github.com/ipinfo/python/pull/54/commits/3f6f26812f3cf966fe47554f9980936a8af09040
3f6f268https://github.com/ipinfo/python/pull/54/commits/3f6f26812f3cf966fe47554f9980936a8af09040
https://github.com/UmanShahzad
UmanShahzadhttps://github.com/UmanShahzad
Jul 6, 2021https://github.com/ipinfo/python/pull/54#issuecomment-875033168
@mtzfedericohttps://github.com/mtzfederico
https://github.com/ipinfo/python/blob/master/ipinfo/cache/interface.pyhttps://github.com/ipinfo/python/blob/master/ipinfo/cache/interface.py
Please reload this pagehttps://github.com/ipinfo/python/pull/54
https://github.com/UmanShahzad
UmanShahzadhttps://github.com/UmanShahzad
Jul 6, 2021 https://github.com/ipinfo/python/pull/54#pullrequestreview-700313583
View reviewed changes https://github.com/ipinfo/python/pull/54/files/3f6f26812f3cf966fe47554f9980936a8af09040
README.mdhttps://github.com/ipinfo/python/pull/54/files/3f6f26812f3cf966fe47554f9980936a8af09040#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
UmanShahzadhttps://github.com/UmanShahzad
Jul 6, 2021https://github.com/ipinfo/python/pull/54#discussion_r664826404
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#54 (comment)https://github.com/ipinfo/python/pull/54#discussion_r664774261
Please reload this pagehttps://github.com/ipinfo/python/pull/54
https://github.com/mtzfederico
mtzfedericohttps://github.com/mtzfederico
Jul 6, 2021https://github.com/ipinfo/python/pull/54#issuecomment-875038663
@UmanShahzadhttps://github.com/UmanShahzad
Please reload this pagehttps://github.com/ipinfo/python/pull/54
https://github.com/UmanShahzad
UmanShahzadhttps://github.com/UmanShahzad
Jul 6, 2021https://github.com/ipinfo/python/pull/54#issuecomment-875041997
@mtzfedericohttps://github.com/mtzfederico
Please reload this pagehttps://github.com/ipinfo/python/pull/54
https://github.com/mtzfederico
mtzfedericohttps://github.com/mtzfederico
Jul 6, 2021https://github.com/ipinfo/python/pull/54#event-4985264476
https://github.com/mtzfederico
mtzfedericohttps://github.com/mtzfederico
Jul 8, 2021 https://github.com/ipinfo/python/pull/54#ref-pullrequest-940128786
Added info about accessing the cache directly #55 https://github.com/ipinfo/python/pull/55
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fipinfo%2Fpython%2Fpull%2F54
https://github.com/UmanShahzad
UmanShahzad https://github.com/UmanShahzad
https://github.com/ipinfo/python/pull/54/files/3f6f26812f3cf966fe47554f9980936a8af09040
Please reload this pagehttps://github.com/ipinfo/python/pull/54
https://github.com/mtzfederico
https://github.com/UmanShahzad
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.