fix: decreases environment ttl to 5 minutes (#6087)

This commit is contained in:
Anshuman Pandey
2025-06-25 16:00:36 +05:30
committed by GitHub
parent 12c3899b85
commit 9ae226329b
8 changed files with 79 additions and 41 deletions
+1 -1
View File
@@ -632,7 +632,7 @@
},
"/api/v1/client/{environmentId}/environment": {
"get": {
"description": "Retrieves the environment state to be used in Formbricks SDKs",
"description": "Retrieves the environment state to be used in Formbricks SDKs **Cache Behavior**: This endpoint uses server-side caching with a **5-minute TTL (Time To Live)**. Any changes to surveys, action classes, project settings, or other environment data will take up to 5 minutes to reflect in the API response. This caching is implemented to improve performance for high-frequency SDK requests.",
"parameters": [
{
"description": "The ID of the environment",