-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add documentation for using a cache #66
Comments
Hi @julianhirt – it is planned but I'm rather busy at the moment so can't really give an ETA on the docs. In the meantime, feel free to ask any question you may have (either here or on gitter). |
@beauby I couldn't find any doc on how to setup it with rails. I have few questions:
|
Any updates on this? |
Following up on this as well... I'm trying to implement caching by adding the "cache: Rails.cache" option to "render jsonapi: ...", but seeing this error: NoMethodError (undefined method `as_jsonapi' for nil:NilClass |
same for me, adding
to the initializer |
The error is fixed with this commit jsonapi-rb/jsonapi-renderer@f154799, but it was not released. |
Hi there,
I do find the default values for jsonapi_cache and default initializers, but is it possible to add some documentation? I have a very static json and it would be awesome to have it cached somewhere.
Thanks in advance!
The text was updated successfully, but these errors were encountered: