Skip to content

Commit

Permalink
Merge pull request #747 from tkersey/performance-guide-typo
Browse files Browse the repository at this point in the history
Should read as `stale images` not `state images`.
  • Loading branch information
kean authored Jan 12, 2024
2 parents 20f3f0c + f19800a commit d3472cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/Nuke.docc/Performance/performance-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ This response is cacheable, and will be *fresh* for 1 hour. When the response be

> Tip: Make sure that the images served by the server have [Cache Control](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control) set correctly.
> Important: By default, `URLCache` doesn't serve state images offline. To show a stale image, pass the `URLRequest` with cache policy set to [.returnCacheDataDontLoad](https://developer.apple.com/documentation/foundation/nsurlrequest/cachepolicy/returncachedatadontload) and then perform a second request to refresh the image.
> Important: By default, `URLCache` doesn't serve stale images offline. To show a stale image, pass the `URLRequest` with cache policy set to [.returnCacheDataDontLoad](https://developer.apple.com/documentation/foundation/nsurlrequest/cachepolicy/returncachedatadontload) and then perform a second request to refresh the image.
### L3. Aggressive Disk Cache (Optional)

Expand Down

0 comments on commit d3472cc

Please sign in to comment.