3 ms·
Recently did this workflow. Started with nginx proxy with rules to cache base on url/params. Wanted more control over it and explored lua/redis apis, and opte
by w-ll 2y ago
Recently did this workflow.
Started with nginx proxy with rules to cache base on url/params. Wanted more control over it and explored lua/redis apis, and opted to build a app to do be a little more smart for what i wanted. Extra ec2 cost is negligible compared to cache savings.
- doubleorseven 2y agoYes! It's amazing how many things you can do with lua in nginx. I had a server that served static websites where the files and the certificates for each website were stored in a bucket. Over 20k websites with 220ms overhead if the certificate wasn't cached.