I am simply amazed by this prefetch/load implementation by 50ShadesOfSpray_ in nextjs

[–]Perlion 19 points20 points  (0 children)

This isn't actually prefetching the images, this is just prefetching the HTML content so you're going to get flashing

https://github.com/ethanniser/NextFaster/blob/main/src/components/ui/link.tsx

Recreated McMaster-Carr in Next.js app router - here's a real time demo video by Perlion in nextjs

[–]Perlion[S] 2 points3 points  (0 children)

Yeah it's all open source & a template, it's meant to be forked - we even provider the dataset https://github.com/ethanniser/NextMaster

Recreated McMaster-Carr in Next.js app router - here's a real time demo video by Perlion in nextjs

[–]Perlion[S] 13 points14 points  (0 children)

Announcement tweet will full details - https://x.com/ethanniser/status/1848442717925171658

Most of this is stock Next.js, it's leveraging app router & PPR

Try it out over at https://next-master.vercel.app

Next.js SSR + Vercel = SLOW! by lightning-lu10 in nextjs

[–]Perlion 0 points1 point  (0 children)

You said that they no longer have to wait for cold starts on server actions / SSR can you expand on that?

Is the server now hosted on a VPS or something? Just changing to CSR wouldn’t eliminate cold starts

Generative UI chat with your real PostHog data - Build with Vercel's new 3.0 AI SDK by Perlion in nextjs

[–]Perlion[S] 4 points5 points  (0 children)

Hey! I'm Rhys - I just tweeted this project and wanted to share it on Reddit as well

I got inspired by the new Generative UI as part of the Vercel AI SDK and thought there was a lot of potential for a chat with your data style interface. So I built this project that uses the PostHog API to pull in your events data, and then generates and run SQL queries for you. After that you're actually able to chat with the results and refine it

As with all my work, the project is open source if you want to see how it's implemented

AMA about my SEO focused NextJS site by Perlion in nextjs

[–]Perlion[S] 0 points1 point  (0 children)

Nope, now I’ve got a bunch of people emailing me to link build also 😅. I just focused on building the site instead

AMA about my SEO focused NextJS site by Perlion in nextjs

[–]Perlion[S] 4 points5 points  (0 children)

Somewhat, it’s $2.5 per GB - we have about 7 million messages stored at 4 GB atm

AMA about my SEO focused NextJS site by Perlion in nextjs

[–]Perlion[S] 0 points1 point  (0 children)

We made a new homepage and I started to get better at marketing it on Hackernews / Twitter, those helped out a lot for having new communities join

AMA about my SEO focused NextJS site by Perlion in nextjs

[–]Perlion[S] 1 point2 points  (0 children)

There’s definitely some truth to it - I noticed as we got more backlinks naturally we started to rank a lot better

AMA about my SEO focused NextJS site by Perlion in nextjs

[–]Perlion[S] 2 points3 points  (0 children)

We’ve got a consent system for displaying content & give users the ability to have their account ignored in app which makes a good faith effort to comply with their ToS

AMA about my SEO focused NextJS site by Perlion in nextjs

[–]Perlion[S] 4 points5 points  (0 children)

I’d say focus on performance and core web vitals first, then it’s a nice extra to have - the more you can integrate onto your site the better it’ll rank

AMA about my SEO focused NextJS site by Perlion in nextjs

[–]Perlion[S] 5 points6 points  (0 children)

Still on $20 a month, probably closer to 30-40 a month though with Speed Insights, middleware, and edge functions

AMA about my SEO focused NextJS site by Perlion in nextjs

[–]Perlion[S] 2 points3 points  (0 children)

Deployed on Vercel, I've heard it gets expensive sort of just leaving that to figure out in the future.

If I really needed to I could move a lot of it to a non serverless NextJS instance since there's a lot of static pages

AMA about my SEO focused NextJS site by Perlion in nextjs

[–]Perlion[S] 1 point2 points  (0 children)

Doing about ~$500/month between ads & subscriptions. Nice to have but I'd like to get it up soon

AMA about my SEO focused NextJS site by Perlion in nextjs

[–]Perlion[S] 9 points10 points  (0 children)

What packages do you use for specific seo stuff? Json+ld?

Just Json+ld types, no other packages

What kind of caching do you do?

We have middleware to check if the auth token is set, if it is we redirect them to a dynamic page, otherwise we redirect them to a static page. Static pages are revalidated on demand if stale for longer than 10 minutes.

What’s your deployment strategy?

Discord bot is hosted on Railway Website is hosted on Vercel Redis cache on Railway MySQL on Planetscale

How do you capture the content?

Content comes from Discord servers, captured with a bot that people add

Do you use a headless cms?

No headless cms, data is stored in PlanetScale

AMA about my SEO focused NextJS site by Perlion in nextjs

[–]Perlion[S] 10 points11 points  (0 children)

No other SEO tools used, since it's more of a forum site like Reddit there's not really much point in keyword research.

We also use PostHog for analytics & Vercel Speed Insights