Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

ISR cache issue, GetStaticProps some time not revalidate #31256

Closed
nchaintrade opened this issue Nov 10, 2021 · 5 comments
Closed

ISR cache issue, GetStaticProps some time not revalidate #31256

nchaintrade opened this issue Nov 10, 2021 · 5 comments
Labels
bug Issue was opened via the bug report template.

Comments

@nchaintrade
Copy link

What version of Next.js are you using?

12.0.3

What version of Node.js are you using?

14.15

What browser are you using?

chrome, firefox, safari

What operating system are you using?

macOs, Ubuntu, Windows

How are you deploying your application?

jenkins, docker container

Describe the Bug

I have 10 hard server side requests. I use getStaticProps with revalidation in 3 minutes, after a while, the data that I request from the back is updated, but nothing changes on the client, taking into account that I get the correct page.json with props.
I also use localization next-i18next.
If i used serverSideProps - no problem. This issue reproduce on 12.0.3 and previous too

Снимок экрана 2021-11-10 в 17 20 01

Expected Behavior

after revalidate data on client must update

To Reproduce

create a page with gsp, and after 1-2 hours update data, and try revalidate

@nchaintrade nchaintrade added the bug Issue was opened via the bug report template. label Nov 10, 2021
@nchaintrade nchaintrade changed the title ISR cache issue, GetStaticProps some time not revaildate ISR cache issue, GetStaticProps some time not revalidate Nov 10, 2021
@nchaintrade
Copy link
Author

Снимок экрана 2021-11-10 в 18 19 53

@jorgev259
Copy link

Having the same problem on a manually built Ubuntu machine using next start with nginx. Using revalidate: 60 doesnt update the page

@VitaliyInshakov
Copy link

Yep, I have this problem too((

@mattjis
Copy link

mattjis commented Nov 12, 2021

Seems to be fixed for me in upcoming version 12.0.4-canary.5

#30498

@vechnii2007
Copy link

Кажется, это будет исправлено для меня в следующей версии 12.0.4-canary.5

# 30498

for me everything works, but after a while the re-check stops for the page on the same locale (en), if I change the locale and wait for the timeout, re-check, my page will refresh, but if I go back to the language when the re-check stopped, mine the page is not refreshed

@vercel vercel locked and limited conversation to collaborators Dec 24, 2021
@balazsorban44 balazsorban44 converted this issue into discussion #32782 Dec 24, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
bug Issue was opened via the bug report template.
Projects
None yet
Development

No branches or pull requests

5 participants