jgoon
Explore posts from serversPD🧩 Plasmo Developers
•Created by jgoon on 3/8/2024 in #👟framework
support for multiple assets
trying to do a simple toggle icon extension (click extension to toggle icon) but it seems like only one icon ever included in build. is this possible?
2 replies
TTCTheo's Typesafe Cult
•Created by jgoon on 7/11/2023 in #questions
Serverside Caching with Next API Routes
Is anyone super familiar with how fetch with next revalidate on api routes works? I know Next API uses lambdas, so I'm curious how data is cached. I'm assuming it is somewhere in Vercel's dbs, but just wanted to see if anyone knew for sure.
2 replies
TTCTheo's Typesafe Cult
•Created by jgoon on 5/29/2023 in #questions
Server side caching with Next API
Unsure if this pattern is common, or if I am approaching this incorrectly.
I am using an api in my backend (next route handlers /api), and want to cache the data for 24 hours, so that I am only calling the api once a day.
I understand how this can be done in a typical server using memory, but am curious if there is a different method possible when using serverless (since there is no persistent memory) that doesnt involve s3 or introducing a whole db.
Please clarify if I am misunderstanding anything! Thanks!
4 replies