Caching API calls that return largely static data and be a great way to improve application performance AND save $$$ by limiting server requests.
...
For further actions, you may consider blocking this person and/or reporting abuse
Jennifer, After adding the useScullyTransferState as per your article, it does not generate any data.json for the routes. is there anything more to be done apart from using useScullyTransferState?
thanks!
Thanks for this post Jennifer. When building, I am not seeing any data.json created for that route when running "npm run scully" Is there any config that needs to be enabled?
Hi Sumeet, I followed the steps mentioned in this article and the data.json did not get generated for me too.. were you able to make this work for you?
Hi Hussain,
It was long time ago, but I think I had a token interceptor where i was intercepting request and adding Auth token in the header and that was causing the issue for me. When building I used "isScullyRunning" to check and skip it by calling "next"
Hope it helps!
I guess 'useScullyTransferState' not yet documented on the docs. Happy to know that from here. Thanks.
Yep! That's why I wrote this post! I know the Scully team is working really hard - writing documentation is tough!
Wow, thanks Jennifer...