Skip to content

Commit

Permalink
Merge d33d1d6 into efa411f
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Feb 23, 2019
2 parents efa411f + d33d1d6 commit d9ca5b4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Expand Up @@ -78,6 +78,8 @@ const app = express()
app.use((req, res) => ssrCache({ req, res }))
```

See more [examples](#examples).

At all times the cache status is reflected as `x-cache` headers in the response.

The first resource access will be a `MISS`.
Expand Down Expand Up @@ -246,6 +248,10 @@ You can have a better overview of the percentage of success by looking your Clou

![](https://i.imgur.com/1Eg64YS.png)

## Examples

- [Express](https://github.com/Kikobeats/unavatar/blob/master/src/index.js#L12)

## Bibliography

- [Server rendered pages are not optional, by Guillermo Rauch](https://rauchg.com/2014/7-principles-of-rich-web-applications#server-rendered-pages-are-not-optional).
Expand Down

0 comments on commit d9ca5b4

Please sign in to comment.