While working on the client-side caching mechanism in eCSStender, I realized the dangers of localStorage.clear() and worked to come up with a solution.
After a recent DDOS to one of the sites I run, I put together a simple Python script to check in on my sites and let me know if any of them return anything besides “HTTP 200” as the response code.