Caching Strategy
November 16, 2024
-
Worked on refining the caching strategy. Observed that caching for 24 hours might result in outdated data during high solar activity periods.
-
Began exploring ways to reduce the caching duration while balancing API usage and data accuracy.
-
Encountered issues where Redis sometimes failed to store or retrieve data. Debugged and resolved these by ensuring proper key naming conventions and expiry settings.
-
Confirmed the Flask backend correctly handled cases when cached data was unavailable, falling back to the Solcast API only when necessary.
Recent Entries
- New Month November 30, 2024
- Solar Energy Project Day 40 November 30, 2024
- Solar Energy Project Day 39 November 29, 2024