Replies: 1 comment 2 replies
-
Hmm, your code looks correct to me. Can you maybe share a reproduction based on https://github.com/amannn/next-intl-bug-repro-app-router? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I have a async server component named
OrganizerDetailPage
. And in this component I callgetOrganizerProfileAsync
function which calls back-end API and retrieves the organizer profile. This page is rendered statically and API response is cached. But if I call thegetTranslations
method, instead of pulling the data from the cache, it sends a request to the backend every time. What am I doing wrong?Without getTranslations it's working as expected. Getting data from the cache.
Beta Was this translation helpful? Give feedback.
All reactions