forked from 0xWheatyz/SPARC
Expose SERP cache TTL as SERP_CACHE_TTL_HOURS environment variable #410
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The SERP API response cache TTL is hardcoded to 24 hours. Different deployment environments may need different cache lifetimes.
What to do
SERP_CACHE_TTL_HOURStoconfig.pywith a default of24serp_api.py(or wherever the TTL is set) to use the config value.env.exampleAcceptance Criteria
SERP_CACHE_TTL_HOURS=1causes cached SERP results to expire after 1 hourReference
Roadmap: P2 - Backend / SERP cache TTL
Triage: Already Implemented
After reviewing the codebase, this issue has already been fully implemented in the current
mainbranch.This issue can be closed.