Closed pinarruiz closed 2 hours ago
The warmer function does not preload the route themselves, only the shared deps like NextServer
get preloaded.
The only solution for that would be to preload the route you want https://opennext.js.org/aws/config/custom_overrides#preload-some-routes-during-warmer-event. One thing to keep in mind is while it preloads it cannot serve request, you don't want to preload a lot of route this way.
Couple of things i've noticed here as well:
next@12.1.6
, that's an old version of next and stuff like ISR or on demand revalidation don't work on this version with OpenNext.npm
and typescript
as dependencies Ohh, okay i see, thanks for the clarification @conico974.
Hello,
We have a website cecohomes.cecotec.dev, beware of autoplay.
We have the warmer configured and logs look good, here is a test event screenshot:
But the website loads extremely slow when first user tries to access it.
Node version:
20.17.0
WARM_PARAMS
:[{ "concurrency": 15, "function": "cecohomes-front-serverless-open-next-dev-server" }]
package.json
:Thanks for any responses, if any more information is needed, i will provide it.