Skip to content

Commit 80dfbeb

Browse files
committed
Add note on Smart Placement docs about asset serving
1 parent ffe9c06 commit 80dfbeb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/content/docs/workers/configuration/smart-placement.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ Smart Placement only considers candidate locations where the Worker has previous
3131

3232
Smart Placement only affects the execution of [fetch event handlers](/workers/runtime-apis/handlers/fetch/). Workers without a fetch event handler will be ignored by Smart Placement. For Workers with both fetch and non-fetch event handlers, Smart Placement will only affect the execution of the fetch event handler.
3333

34+
Similarly, Smart Placement will not affect the serving of [static assets](/workers/static-assets/). These will continue to be served from the nearest location to the incoming request. If a Worker script has been invoked and assets are being retrieved over a [binding](https://developers.cloudflare.com/workers/static-assets/binding/), then assets will be served from the same location as the executing Worker script.
35+
3436
## Enable Smart Placement
3537

3638
Smart Placement is available to users on all Workers plans.

0 commit comments

Comments
 (0)