-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Labels
⚡ performancePerformance improvementsPerformance improvements✨ featureNew feature request or enhancementNew feature request or enhancement
Description
Feature Type
⚡ Performance
Problem Statement
c15t's backend writes audit logs when a consent is created and verified. This leads to slower responses to the client as it has to perform another write.
Proposed Solution
Many common providers have some form of background function like waitUntil() (Cloudflare & Vercel) or after() (Next.js). c15t's backend should be able to accept these functions in a standardized format like backgroundFunction?: async () => void", this function, if provided, should wrap audit log creations for faster responses to the client.
Alternative Solutions
No response
Additional Context
No response
Metadata
Metadata
Assignees
Labels
⚡ performancePerformance improvementsPerformance improvements✨ featureNew feature request or enhancementNew feature request or enhancement