Skip to content
This repository has been archived by the owner on Aug 5, 2020. It is now read-only.

Commit

Permalink
Remove obsolete package and docs (#1215)
Browse files Browse the repository at this point in the history
  • Loading branch information
christinebrass authored Nov 13, 2018
1 parent 9d16044 commit cb45750
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 23 deletions.
22 changes: 0 additions & 22 deletions docs/configuration/CachingAndHooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,28 +16,6 @@ Example:
*Additional optional cache properties:*
`cacheTTL` - number of seconds to store the cache for a particular route

Gluestick allows SSR component caching by using [`electrode-react-ssr-caching`](https://github.com/electrode-io/electrode-react-ssr-caching).
For using it you need to determine `cacheConfig` in `src/config/caching.server.js`

Example:
```javascript
export default {
components: {
"Component1": {
strategy: "simple",
enable: true
},
"Component2": {
strategy: "template",
enable: true
},
},
};
```

[`Here`](https://github.com/electrode-io/electrode-react-ssr-caching) you can find more information about `cacheConfig`.


## Hooks
Gluestick also provide hooks which can be defined in `src/gluestick.hooks.js`.
You can use single hook or array of hooks like in example below. Usually you have to return modified value at the end of hook.
Expand Down
1 change: 0 additions & 1 deletion packages/gluestick/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
"compression": "1.7.0",
"cross-spawn": "^5.1.0",
"duplicate-package-checker-webpack-plugin": "^1.2.5",
"electrode-react-ssr-caching": "^0.1.5",
"enzyme": "2.9.1",
"eventsource-polyfill": "0.9.6",
"express": "4.15.3",
Expand Down

0 comments on commit cb45750

Please sign in to comment.