6 ms·
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 Serv
by franzpeterfolz 12y ago
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.