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

If caching is setup properly, you won't need any Database-Querys unless your Content changes.

A static site needs also to be served. HTML-files are on the Servers Harddrive. They have to be read and send to the client.

A clever Caching-Strategy might beat this aproach by reading the files once and Serving the content from memory. When I write "reading the files once", this also includes making a db-query, rendering a HTML-Site and caching the result in a Tool like memcache to serve it from there.



Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

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

Search: