-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add support to deno deploy cache api implementation Documentation for deno's Edge Cache are available at https://docs.deno.com/deploy/manual/edge-cache/ This commit contains the following alterations: * Add CACHE_API as default cache engine, which replaces KV in our DD websites (This does not afect the k8s websites, as they are by default using the FILE_SYSTEM cache). * Change LOADER_CACHE_START_THRESHOLD env var to 0 * Change LOADER_CACHE_SIZE to 1_024_000 * Add Content-Type field to cached response header * Add Content-Length field to cached response header if length is available * Great cache revamp * Refact cache * Enable loader cache by default * Lint, code readability and better env names * Fixed env names * Improve env names and default * Fix format --------- Co-authored-by: Itamar Rocha Filho <[email protected]>
- Loading branch information
1 parent
5c682c4
commit 2590f1d
Showing
12 changed files
with
476 additions
and
1,084 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.