You Should Use This for Your Next Project: Random Image API
SMRTR summary
Daniel Petrica built a random image API service that returns different photos on each request, offering multiple size formats and responsive image support. The service uses a database of photo URLs kept in memory, refreshing periodically to provide quasi-random results. It includes practical HTML examples with srcset for responsive images and workarounds for browser caching limitations.
SMRTR provides this summary for quick context. The original article belongs to Hacker Noon.
Read the original article