Skip to content

Commit 44b41d0

Browse files
committed
Small edits and added content on caching
1 parent 54c5104 commit 44b41d0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/content/docs/images/transform-images/bindings.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
22
pcx_content_type: how-to
3-
title: Bind to Workers
3+
title: Bind to Workers API
44
sidebar:
55
order: 4
66
---
77

8-
A [binding](/workers/runtime-apis/bindings/) connects your [Worker](/workers/) to external resources on the Developer Platform, like [Images](/images/transform-images/transform-via-workers/), [R2 Buckets](/r2/buckets/), or [KV Namespaces](/kv/concepts/kv-namespaces/).
8+
A [binding](/workers/runtime-apis/bindings/) connects your [Worker](/workers/) to external resources on the Developer Platform, like [Images](/images/transform-images/transform-via-workers/), [R2 buckets](/r2/buckets/), or [KV Namespaces](/kv/concepts/kv-namespaces/).
99

1010
You can bind the Images API to your Worker to transform, resize, and encode images without requiring them to be accessible through a URL.
1111

@@ -68,6 +68,8 @@ return response;
6868

6969
In this example, the transformed image is outputted as a WebP.
7070

71+
Responses from the Images binding are not automatically cached. Workers lets you interact directly with the Cache API to customize cache behavior using Workers. You can implement logic in your script to store transformations in Cloudflare’s cache.
72+
7173
## Interact with your Images binding locally
7274

7375
The Images API can be used in local development through [Wrangler](/workers/wrangler/install-and-update/), the command-line interface for Workers. Using the Images binding in local development will not incur usage charges.

0 commit comments

Comments
 (0)