Thick Black W
Nuxt docker volume for cache management?
@kapa.ai how to set the size of the cache storage, and volume, and if volume available is of less size than cache storage, how to handle that. Finally automatic volume clearing. I want to clarify, does the server not scan for expired keys and doesn't remove them? If so, how to prevent stale keys bloat?
18 replies
.env file not working in production build
I am not using one of the traditional hosting solutions. I'm trying to save costs, and don't want to become dependent of a hosting solution's provider. Anyway, I have to upload everything manually by hand, i.e. SSH. So now that I have the build folder, and it is working with the node cmd above, my initial guess is that this should work fine once it is on the server, won't it?
In any case, I will test this out in a moment with deployment to docker. Will be running that locally to make sure everything works smoothly, hopefully. 🤞
21 replies
Where is the documentation for $fetch for both nitro server-side and client-side?
right now I am trying to figure out how to cache all the fetch calls 1st how much storage to dedicate to the caches.
2nd I need to make sure "error" fetched are not cached, how to read and send status codes. in express they explicitly force setting status codes as good practice, but nuxt docs don't show that. poor practice
12 replies
Where is the documentation for $fetch for both nitro server-side and client-side?
what to pass in options. there isn't a complete list on what to pass in. i think this is due to the options being http vanilla options so they don't list them out. unfortunately, for a new dev, I jumped straight into nuxt after a simple vanilla project, vue project, and now nuxt.
12 replies