Open pnpaes opened 3 years ago
Same here using the same version of store-front
Products are not visible under the category, shows zero records
Try experimenting with the INCREMENTAL_STATIC_REGENERATION_REVALIDATE environment variable. Per default I think it is set to 60 minutes (3600 seconds). After that time, if you refresh the page, the data get refreshed. This, however, only works for the next server. In case you use the Dockerfile as provided in the repo, it will use a static export of the site and serve it with an nginx server and never refresh any data.
That was my first “try”. Reduced all the way to 10 seconds without success. I had to bypass that all together and create a direct query instead. Quite annoying that the very basics have these issues.
On Tue, 28 Sep 2021 at 08:50, Timo @.***> wrote:
Try experimenting with the INCREMENTAL_STATIC_REGENERATION_REVALIDATE environment variable. Per default I think it is set to 60 minutes (3600 seconds). After that time, if you refresh the page, the data get refreshed. This, however, only works for the next server. In case you use the Dockerfile as provided in the repo, it will use a static export of the site and serve it with an nginx server and never refresh any data.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mirumee/saleor-storefront/issues/1091#issuecomment-928905436, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANEEVQJFWOZYZZ5RGEBMUDUEFQRRANCNFSM5CZ2GA2A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
-- https://bottr.me/pnpaes?utm_source=emailSignature&referrer=876128db
Paulo Paes
@pnpaes https://bottr.me/pnpaes?utm_source=emailSignature&referrer=876128db
Oh dear. Sure that you tried it with "next start"? For me it works locally. But when deployed with docker, I get error messages when it tries to refresh the product pages: At least one of arguments is required: 'id', 'slug'.
I think I'll open up a new Issue for this - although it feels like this repository is somewhat neglected, considering the activity in the other two repositories..
I am using the store front 3.0.0-b.2. The product details page is not updating it automatically when price or other product information changes int he dashboard. I can try to bust all local data or use private mode and it is the same behaviour. It only updates if I stop/start the next server... Seems that some static information is being rendered when the server starts and the product page doesn't fetch "fresh information". If i look into the browser network there is no api request in the product page, only in the product listing. Which means the product listing get the latest updated price, but not the product page itself.
Is there a configuration that I can adjust or something that I can tweak to avoid that? Locally i am just running
npm run start
so there is not export build with static html being generated.Appreciate any help here.