{"id":2070,"date":"2009-07-13T20:04:57","date_gmt":"2009-07-14T00:04:57","guid":{"rendered":"http:\/\/blogs.n1zyy.com\/n1zyy\/?p=2070"},"modified":"2009-07-13T20:04:57","modified_gmt":"2009-07-14T00:04:57","slug":"caches-2","status":"publish","type":"post","link":"https:\/\/blogs.n1zyy.com\/n1zyy\/2009\/07\/13\/caches-2\/","title":{"rendered":"Caches"},"content":{"rendered":"<p>Any time I&#8217;ve worked with performance tuning, I&#8217;ve found that caching gives the highest rewards with the least work. It&#8217;s entirely possible to see thousand-fold increases if you employ caching in the right places. My WordPress install used to run complex SQL queries on every page, and I benchmarked it at 4 pages\/second under ideal conditions. I now do some trivial caching of the results of those queries and can push over 400 pages\/second. Your OS caches files in unused memory since it&#8217;s so much faster than disk, and your browser caches static assets on a site so your browser doesn&#8217;t have to download them again for every page view.<\/p>\n<p>But here&#8217;s what I&#8217;m actually posting about: What is it with people and cleaning out their caches all the time? It&#8217;s like caches are some sort of gunk that builds up and clogs up the works. It&#8217;d be like me being distraught to find that money is clogging up my bank account and trying to find a way to purge all the money so I had more room in the bank. This is one of those things that&#8217;s slightly amusing and only slightly irritating, until you talk to the tenth user in a row who talks about clearing their caches to try to make their computer faster. Why?! What is going through their heads?<\/p>","protected":false},"excerpt":{"rendered":"<p>Any time I&#8217;ve worked with performance tuning, I&#8217;ve found that caching gives the highest rewards with the least work. It&#8217;s entirely possible to see thousand-fold increases if you employ caching in the right places. My WordPress install used to run &hellip; <a href=\"https:\/\/blogs.n1zyy.com\/n1zyy\/2009\/07\/13\/caches-2\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2070","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/posts\/2070","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/comments?post=2070"}],"version-history":[{"count":0,"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/posts\/2070\/revisions"}],"wp:attachment":[{"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/media?parent=2070"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/categories?post=2070"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/tags?post=2070"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}