Hacker News new | ask | show | jobs
by wombarly 1785 days ago
People who DDOS sites usually attack the homepage.

If they attack a dynamic page, check if you can cache them for 30 or 60 seconds. Pretty close to real time.

If you have cookie based authentication for those pages, its going to be difficult to cache them at all though. Which is where SPAs come in useful since auth is client side.