DogPawHat
DogPawHat
TTCTheo's Typesafe Cult
Created by GetPsyched on 9/28/2024 in #questions
Weird errors when using useQuery
You can ask on the Tanstack discord and see if dominick or tanner has a good answer
29 replies
TTCTheo's Typesafe Cult
Created by junglesquirrel on 11/21/2023 in #questions
Serving user uploaded content in NextJS - infrastructure without a CMS
6 replies
TTCTheo's Typesafe Cult
Created by junglesquirrel on 11/21/2023 in #questions
Serving user uploaded content in NextJS - infrastructure without a CMS
Tag your images with a uuid on upload and use that for your cache key.
6 replies
TTCTheo's Typesafe Cult
Created by junglesquirrel on 11/21/2023 in #questions
Serving user uploaded content in NextJS - infrastructure without a CMS
Yeah, when in doubt, cache, cache, cache.
6 replies
TTCTheo's Typesafe Cult
Created by junglesquirrel on 11/21/2023 in #questions
Serving user uploaded content in NextJS - infrastructure without a CMS
Where is NextJS itself hosted? I think the easised thing to do is use ISR on Vercel so you get caching on the edge by default. You have the main storage but not the CDN, and Vercel will give you that for free. If it's not Vercel, it's a bit harder depending on what you are doing. What version of next are you using and are you using app or pages router?
6 replies