4 ms·
Haha. It's static. I've never actually written anything that anybody's read before, so I have no idea what point I need to start looking into a cache.
by natural219 12y ago
Haha. It's static. I've never actually written anything that anybody's read before, so I have no idea what point I need to start looking into a cache.
- viraptor 12y agoIf it's already static (ie. served from a generated static file), cache won't help you much (if at all). All reads will already come from the memory. Unless you have some crazy routing rules in the webserver, varnish is unlikely to be faster than direct serving. some old comparison for static files: http://nbonvin.wordpress.com/2011/03/14/apache-vs-nginx-vs-varnish-vs-gwan/ http://nbonvin.wordpress.com/2011/03/14/apache-vs-nginx-vs-v...
- natural219 12y agoThanks, this is a great read. I feared since my nginx configuration looks like this[1], something isn't being cached properly in memory, but it looks like I'm being overly paranoid. [1]https://www.dropbox.com/s/x2k7ms057xh7zkm/Screenshot%202014-06-12%2017.21.38.png https://www.dropbox.com/s/x2k7ms057xh7zkm/Screenshot%202014-...