Running a Python Worker Silently "In The Background" While A Page Loads #14533
Labels
content:edit
Request for content edits
documentation
Documentation edits
example
product:workers
Related to Workers product
Existing documentation URL(s)
https://developers.cloudflare.com/workers/languages/python/examples/
https://developers.cloudflare.com/workers/examples/
What changes are you suggesting?
Explain how or demonstrate with an example how to trigger a Python Worker "in the background" with an AJAX script or concurrency so that it doesn't disrupt the normal page loading flow when attached to a route?
Additional information
I want to insert to the key value store via a worker simultaneously as the page loads. But when I attach the worker to a route with a routing rule, the response object is rendered to the browser. Working on a Python worker like this but running into too many redirect loops with fetch or redirects:
The text was updated successfully, but these errors were encountered: