Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Based on your words, you do not invalidate cache anyways:

> When the next HTTP request comes in to view that object, I lookup the object's date in the shared dict. If the modified date is > now(), I set the bypass flag to 1, so nginx updates its cache.

I see it exact as stock behavior and asking what the difference Lua logic brings here.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: