Skip to content

Commit

Permalink
0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacasonato committed Mar 10, 2021
1 parent 9e6c337 commit 107c962
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand All @@ -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");

Expand Down

0 comments on commit 107c962

Please sign in to comment.