Ask Remix: what's the best way to cache JSON responses from 3rd party API? #1752
-
I'm Possible cache layers:
QuestionWhat would Remix folks suggest I do to cache my NotionAPI response so I don't hit their API every time a user visits my site? Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
sergiodxa
Feb 1, 2022
Replies: 1 comment 10 replies
-
You could cache the whole loader response with Cache Control in the CDN, or the html for the initial document request. |
Beta Was this translation helpful? Give feedback.
10 replies
Answer selected by
emadabdulrahim
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You could cache the whole loader response with Cache Control in the CDN, or the html for the initial document request.