by mattbillenstein · 9y ago · 0 comments
Today I might try to hit the cache from nginx using lua -- and then only call the python thing on a miss.
We fetched from S3 on-the-fly while caching the generated image using a CDN we already had at hand. This is a band-aid for the night (we're in India, it's 2 AM here) and not for handling daytime traffic. We're obviously hoping imgix will fix their issues in the next several hours. Even if not, at least our customers get a degraded experience than a broken one.