Skip to content

Conversation

@daisyfaithauma
Copy link
Contributor

Summary

  • reuse sessions with geolocation

Screenshots (optional)

Documentation checklist

  • The documentation style guide has been adhered to.
  • If a larger change - such as adding a new page- an issue has been opened in relation to any incorrect or out of date information that this PR fixes.
  • Files which have changed name or location have been allocated redirects.

@hyperlint-ai
Copy link
Contributor

hyperlint-ai bot commented Mar 26, 2025

Howdy and thanks for contributing to our repo. The Cloudflare team reviews new, external PRs within two (2) weeks. If it's been two weeks or longer without any movement, please tag the PR Assignees in a comment.

We review internal PRs within 1 week. If it's something urgent or has been sitting without a comment, start a thread in the Developer Docs space internally.


PR Change Summary

Implemented a guide for reusing sessions with geolocation in Cloudflare Workers.

  • Added a new guide on reusing sessions with geolocation using Puppeteer in Cloudflare Workers.
  • Included instructions for creating a Worker project and installing Puppeteer.
  • Provided code examples for implementing session management and location specification in the Worker.
  • Outlined steps for testing and deploying the Worker.

Added Files

  • src/content/docs/browser-rendering/workers-binding-api/reuse-sessions-with-geolocation.mdx

How can I customize these reviews?

Check out the Hyperlint AI Reviewer docs for more information on how to customize the review.

If you just want to ignore it on this PR, you can add the hyperlint-ignore label to the PR. Future changes won't trigger a Hyperlint review.

Note specifically for link checks, we only check the first 30 links in a file and we cache the results for several hours (for instance, if you just added a page, you might experience this). Our recommendation is to add hyperlint-ignore to the PR to ignore the link check for this PR.

What is Hyperlint?

Hyperlint is an AI agent that helps you write, edit, and maintain your documentation.

Learn more about the Hyperlint AI reviewer and the checks that we can run on your documentation.

@meddulla
Copy link
Contributor

Copying an example just to add geolocation (single line change mostly) adds little value imho.
We should instead document that option in the current examples and also add a section named Launch Options that would document the keep alive and location feature https://brapi-reuse-session.preview.developers.cloudflare.com/browser-rendering/platform/puppeteer/#keep-alive

@daisyfaithauma
Copy link
Contributor Author

Copying an example just to add geolocation (single line change mostly) adds little value imho. We should instead document that option in the current examples and also add a section named Launch Options that would document the keep alive and location feature https://brapi-reuse-session.preview.developers.cloudflare.com/browser-rendering/platform/puppeteer/#keep-alive

This will replace https://developers.cloudflare.com/browser-rendering/workers-binding-api/reuse-sessions/

@daisyfaithauma daisyfaithauma marked this pull request as ready for review April 9, 2025 14:42
@daisyfaithauma
Copy link
Contributor Author

Closed because not going live anymore

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants