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

Sorry, I thought it was obvious. The overhead is practically zero compared to the amount of html you can comment out.

You can have a cached static html document with really huge (conditional) comments with tiny performance loss. display:none for example still does all kinds of things. Inserting html with js is even worse.



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

Search: