News for hackers. Stuff that matters.
Re:Build Static Websites by franzpeterfolz on Thursday January 29, 2015 @02:42PM (#8968378)
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.

There are no comments on this comment yet.