AE
Ash Elixir•3y ago
sriky27

Cache layer to Ash rest api

Hi How could we add the cache layers tot he Ash rest api end points. Any suggestions. -Sriky
5 Replies
ZachDaniel
ZachDaniel•3y ago
You would add the cache layer to the action itself. We do something similar in ash_hq actually.
ZachDaniel
ZachDaniel•3y ago
GitHub
ash_hq/library.ex at main · ash-project/ash_hq
The Ash Framework homepage and documentation site. - ash_hq/library.ex at main · ash-project/ash_hq
ZachDaniel
ZachDaniel•3y ago
There we check a cache and set the query results
sriky27
sriky27OP•3y ago
Got it thanks. @Zach Daniel super thanks for your quick responses. Falling in love this framework.
ZachDaniel
ZachDaniel•3y ago
🥳 thats great to hear 😊

Did you find this page helpful?