-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9e6c337
commit 107c962
Showing
1 changed file
with
2 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ Service Worker Cache API. | |
Setting, getting, and deleting items in the cache: | ||
|
||
```ts | ||
import { inMemoryCache } from "https://deno.land/x/[email protected].0/in_memory.ts"; | ||
import { inMemoryCache } from "https://deno.land/x/[email protected].1/in_memory.ts"; | ||
|
||
const cache = inMemoryCache(5); | ||
|
||
|
@@ -29,7 +29,7 @@ console.log(await cache.get(req)); // undefined | |
And with redis: | ||
|
||
```ts | ||
import { redisCache } from "https://deno.land/x/[email protected].0/redis.ts"; | ||
import { redisCache } from "https://deno.land/x/[email protected].1/redis.ts"; | ||
|
||
const cache = await redisCache("redis://127.0.0.1:6379"); | ||
|
||
|