predaytor
predaytor
Explore posts from servers
CDCloudflare Developers
Created by predaytor on 6/2/2024 in #general-help
Cache API vs KV
Which is better for server-side caching of database (d1) calls (aka direct data responses from the backend) - Cache API or KV Storage? The API is quite similar, but the Cache API relies directly on the CDN. This is a CRM-like application with users, roles, etc., so the usual cache-control cannot be applied here, as we need a way to programmatically invalidate on some CRUD operations (e.g. display a list of users while invalidate the cache when adding new ones to the database, with routes like /users/students, /users/students/new).
3 replies
CDCloudflare Developers
Created by predaytor on 3/18/2024 in #general-help
Cloudflare for high load multiuser application
I'm thinking of Cloudflare's stack for a web app (generally a learning platform with admin features, users, chats, full-text search etc.). Is there anything I should be aware of, specifically the limitations of the D1 database for such case? What about user concurrency? Is there any potential problems integrating solutions like Durable Objects and Websockets? The application framework is Remix (Vite).
8 replies