When a user submits a search query, the results should be cached locally so that identical or near-identical queries do not trigger redundant API calls. Instead of hitting external news or LLM APIs every time, the app should return the cached response immediately.
When a user submits a search query, the results should be cached locally so that identical or near-identical queries do not trigger redundant API calls. Instead of hitting external news or LLM APIs every time, the app should return the cached response immediately.