Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/content/docs/workers/static-assets/direct-upload.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ sequenceDiagram
User<<->>Workers API: Upload script version<br/>PUT /client/v4/accounts/:accountId/workers/scripts/:scriptName
```
</TabItem>
<TabItem icon="cloudflare-for-platforms" label="Workers for Platforms" IconComponent={Icon}>
<TabItem icon="cloudflare-for-platforms" label="Workers for Platforms">
```mermaid
sequenceDiagram
participant User
Expand Down
9 changes: 9 additions & 0 deletions src/content/partials/workers/custom_headers.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,15 @@ For example, to prevent your <code>{props.product === 'workers' ? '\*.workers.de
}
/>

##### Configure custom browser cache behavior

If you have a folder of fingerprinted assets (assets which have a hash in their filename), you can configure more aggressive caching behavior in the browser to improve performance for repeat visitors:

```txt
/static/*
Cache-Control: public, max-age=31556952, immutable
```

##### Harden security for an application

:::caution
Expand Down
Loading