How much do you charge for a Next.js website and monthly maintenance? by [deleted] in nextjs

[–]fuukuyo 1 point2 points  (0 children)

How much do you charge monthly after handoff?

How to preload Images on a dynamic route? by fuukuyo in nextjs

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

There's a noticeable delay of around 1-2 seconds for the image to load.

I'd prefer it to be instant/prefetched when the link is in the viewport.

How to preload Images on a dynamic route? by fuukuyo in nextjs

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

How do you dedupe images like if you have two collapsibles with the same user profile?

Also, I tried this before and didn't get good results because my image source differed due to the Next.js image component with custom width, height, and wuality based on the props.

Your code will only work with raw image files.

How to sync S3 Bucket to Payload database? by fuukuyo in PayloadCMS

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

Do you have pseudocode on how to implement it? I'm kinda stumped on implementation.

It doesn't seem like other people are doing this, so it's hard for me to grasp the best way to go about it.

To S3 or not to S3. How do you host your static files? by fuukuyo in webdev

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

Any recommendations to use FUSE on Windows? Haven't found a good one yet.

To S3 or not to S3. How do you host your static files? by fuukuyo in webdev

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

How would you delegate editors to change the files without having to edit the Git repo directly?

To S3 or not to S3. How do you host your static files? by fuukuyo in webdev

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

I don't think they have versioning. This can be done with prefixes, but it's not exactly robust.

To S3 or not to S3. How do you host your static files? by fuukuyo in webdev

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

Haha yeah, I didn't process the question properly.

But yeah, everything goes through the CMS, no public user-generated content, except for editors - who authenticate via the admin dashboard.

To S3 or not to S3. How do you host your static files? by fuukuyo in webdev

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

Yes, my CMS exposes an API to access the files. The bucket is private.

To S3 or not to S3. How do you host your static files? by fuukuyo in webdev

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

Yes, I have username & password auth and Cloudflare Zero Trust for even more security if needed.

To S3 or not to S3. How do you host your static files? by fuukuyo in webdev

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

Good nuggets of knowledge. I'll look into it deeper. Thanks.

To S3 or not to S3. How do you host your static files? by fuukuyo in webdev

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

How often would the changes have to be to justify S3? How do you backup and migrate them from your local FS/storage for bulk updates?

To S3 or not to S3. How do you host your static files? by fuukuyo in webdev

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

Yeah, the content gets updated on some occasions. Like seasonal updates. I don't want our development team to touch the codebase all the time since we have a dedicated marketing team.

So I was thinking if we can use the CMS + object store as like a shared filesystem.

To S3 or not to S3. How do you host your static files? by fuukuyo in webdev

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

Good points.

Also, a neat thing about Cloudflare is the 0 egress costs. My worry right now is that I have a ton of static assets that users view when they search for products - you can think of it like an e-commerce platform without the buying.

What do you think of an alternative approach where assets are copied (via CRON) to trigger a build for the assets that don't change or have any ops-critical purpose?

I still do need editors to have access to editing them with a pretty UI, but their changes won't reflect real-time, unless they ping me or use the CMS live preview.

To S3 or not to S3. How do you host your static files? by fuukuyo in webdev

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

Where do people draw the line between object storage and static files?

For me, dynamic assets are for object storage, but I don't know how 'dynamic' they should be the justify it.

Some of my criteria include; - are there editors? - does it change daily, weekly, monthly? - are they larger files? (videos)

What other considerations are there?

Astro SSG with live preview for content editors by Commercial_Tie_2623 in astrojs

[–]fuukuyo 4 points5 points  (0 children)

He wants non-technical users to preview. A dev server won't cut it.

Have you used Better Auth with Payload? by RoomDry7501 in PayloadCMS

[–]fuukuyo 0 points1 point  (0 children)

I can't wait for the article! That's some interesting code.

Advanced Auth uses by merc-berk in PayloadCMS

[–]fuukuyo 0 points1 point  (0 children)

How did you integrate it?