Skip to content

Commit

Permalink
Make sentence clearer (#12786)
Browse files Browse the repository at this point in the history
I agree with @ChristopherBiscardi this sentence needs a bit more :-)
  • Loading branch information
KyleAMathews authored Mar 23, 2019
1 parent 546c3d2 commit b911e8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/creating-a-transformer-plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ Check out the [full source code](https://github.com/gatsbyjs/gatsby/blob/master/

Sometimes transforming properties costs time and resources. In order to avoid recreating these properties at each run, you can profit from the global cache mechanism Gatsby provides.

Cache keys should at least contain the contentDigest of the concerned. For example, the `gatsby-transformer-remark` uses the following cache key for the html node:
Cache keys should at least contain the contentDigest of the concerned node. For example, the `gatsby-transformer-remark` uses the following cache key for the html node:

```javascript:title=extend-node-type.js
const htmlCacheKey = node =>
Expand Down

0 comments on commit b911e8d

Please sign in to comment.