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

I don't understand when people go crazy with their servers after getting mentioned on the social web because of the load. It's short lived, no need to panic, just make the page static.

    wget http://www.mysite.com/page-being-hit-all-the-time -O /var/www/static.html
and add a rule to your webserver

    location /page-being-hit-all-the-time {
        return /var/www/static.html;
    }


that's one elegant and simple solution, I agree :-) But in this case the load wasn't so targeted, it was spread on 3-4 pages. But you're right, I could have made them all 3 static.

Thanks for the info, really appreciated :-)




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: