Re:Supabase Storage: now supports the S3 protocol
by cqqxo4zV46cp on Friday April 19, 2024 @07:30AM
(#40085473)
Yes. That doesn’t mean that they haven’t ran it into the ground.
[ Parent
| on HN ]
Re:Supabase Storage: now supports the S3 protocol
by paradite on Friday April 19, 2024 @09:00AM
(#40086269)
Tell me about it.
My simple SSG Next.js static site loads much slower than my Jekyll site on GitHub pages.
And I can't figure out how to improve its speed or disable the "ISG" feature that I believe is to be blamed for the poor performance.
Re:Supabase Storage: now supports the S3 protocol
by eropple on Friday April 19, 2024 @09:08AM
(#40086351)
Not defending NextJS, I'm pretty out on it myself, but ISG requires a server to run. It pregenerates static content for defined pages and serves that until revalidating. If you've built a fully static bundle, nothing exists that would handle that incremental/revalidating logic.
Re:Supabase Storage: now supports the S3 protocol
by paradite on Friday April 19, 2024 @11:12AM
(#40087810)
I understand that ISG requires a server (Node.js runtime) to run it, that's why I want to disable it for my SSG Next.js static site, but I can't figure out how. I just want static hosting like S3+Cloudfront which is much faster.
Re:Supabase Storage: now supports the S3 protocol
by theturtletalks on Friday April 19, 2024 @11:30AM
(#40088076)
You need to use static export:
https://nextjs.org/docs/app/building-your-application/deploy...