4 ms·
You should stick a CDN in front so this doesn't happen. Ideally once the server generates the image, it would also be cached there.
by michaelmior 13y ago
You should stick a CDN in front so this doesn't happen. Ideally once the server generates the image, it would also be cached there.
- joevandyk 13y agoYou probably want nginx in front of pillbox. Nginx setup as a basic http proxy cache. So, CDN -> nginx -> pillbox. This is because CDNs can send lots of concurrent requests to the origin server if lots of people are requesting the same new image simultaneously.