Skip to content

Commit

Permalink
Link to defaultCacheControl
Browse files Browse the repository at this point in the history
  • Loading branch information
ComLock committed Oct 8, 2024
1 parent 0b0bd21 commit 4af2463
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/api/defaultCacheControl.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ See <<types#CacheControlResolver,CacheControlResolver>>

== Parameters

[%header,cols="1%,1%,1%,98%a"]
[%header,cols="1%,1%,98%a"]
[frame="none"]
[grid="none"]
|===
Expand Down
2 changes: 1 addition & 1 deletion docs/api/requestHandler.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ This function handles requests for static resources.
[caption=""]
|===
| Name | Type | Default | Description
| cacheControl | <<types#CacheControlResolver,CacheControlResolver>> | defaultCacheControl | Function that returns the cache control header value
| cacheControl | <<types#CacheControlResolver,CacheControlResolver>> | <<defaultCacheControl#,defaultCacheControl>> | Function that returns the cache control header value
| contentType | <<types#ContentTypeResolver,ContentTypeResolver>> | getMimeType | Function that returns the content type header value
| etag | boolean | true | Whether to include ETag header
| index | string | 'index.html' | Default file to serve when requesting a directory
Expand Down

0 comments on commit 4af2463

Please sign in to comment.