Skip to content

Commit

Permalink
docs(readme): Add object via CDN note on Caching section
Browse files Browse the repository at this point in the history
  • Loading branch information
becem-gharbi committed Oct 5, 2023
1 parent b9c326e commit c27f24b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ In order to cache Get object response, You can set caching rule on `/api/s3/quer
},
```

In order to directly retreive an object from the CDN, it should belong to a public bucket. The `key` can be extracted from the object's `url` via `getKey` function of `useS3Object`. Then the `publicURL` would be *{public_bucket_url}/{key}*

## Example

```vue
Expand Down

0 comments on commit c27f24b

Please sign in to comment.