Speed up your Python server with caching - Design Patterns

Опубликовано: 17 Май 2026
на канале: Patternite
1,930
67

We improve the efficiency of our NASA Mars rover wallpaper API by adding caching with the cachetools library.


You can see how we built the original API here
   • Build easy APIs in Python with FastAPI - D...  


Checkout the pattern from this video here
https://patternite.com/patterns/cbc63...


Want to learn about other interesting patterns? Contribute your own? Checkout Patternite!
https://patternite.com


Cachetools docs
https://cachetools.readthedocs.io/en/...


NASA public APIs (scroll down to find the "Mars Rover Photo API")
https://api.nasa.gov/