re: Tell me about a time you messed up VIEW POST


Accidentally set the value of Expires (a timestamp) to max-age (a number of seconds) and permanently cached an entire website. That was behind a very efficient CDN. Oh nooooooo.

Luckily we were behind the times in moving to https -- we were able to avert total disaster by moving on to https, and injecting a javascript redirect from http through Google Tag Manager. If not for both of those factors we'd probably have needed a new domain.

Now I obsessively check cache headers in all my integration tests. As a rookie it never occurred to me that I could screw up so badly that not even backups could help.

code of conduct - report abuse