{"id":34,"date":"2003-09-18T08:32:00","date_gmt":"2003-09-18T08:32:00","guid":{"rendered":"http:\/\/jclark.org\/weblog\/WebDev\/ThisSite\/speed1.html"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-30T04:00:00","slug":"speed1","status":"publish","type":"post","link":"https:\/\/jclark.org\/weblog\/2003\/09\/18\/speed1\/","title":{"rendered":"Need for Speed, Part 1"},"content":{"rendered":"<p>I was thinking about speed today.  Feeding this site into the free <a href=\"http:\/\/www.websiteoptimization.com\/services\/analyze\/\">analyzer<\/a> at <a href=\"http:\/\/www.websiteoptimization.com\">WebSiteOptimization.com<\/a> reminded me of a couple of facts I had already figured out.  First, the blog is growing too long.<\/p>\n<p><a href=\"http:\/\/www.blosxom.com\" title=\"The Blosxom Homepage\">Blosxom<\/a> has a configuration variable called <code>$num_entries<\/code> to help with this.  It allows you to limit how many blog entries appear at once.  By default its set to 40; I&#8217;ve now lowered it to 10.  This has had some unanticipated side effects.  The comment for <code>$num_entries<\/code> is:<\/p>\n<blockquote><p><code># How many entries should I show on the home page?<\/code><\/p><\/blockquote>\n<p>This seems to indicate that the limit is only imposed on the &#8216;home page&#8217;, or root category.  In fact, it limits all category views.  This is probably good, because eventually the categories will get full.  However, there is no provision for browsing further back within a category.  This may be a job for a new plugin.  <\/p>\n<p>The other thing the analyzer reminded me of is the need for gzip compression on the site.  I looked breifly into this before, without much luck.  My host, <a href=\"http:\/\/www.ipowerweb.com\" title=\"iPowerWeb Web Hosting\">iPowerWeb<\/a>, has no documentation about using mod_gzip on their support site, so I assume it isn&#8217;t implemented.  I looked into the gzip plugin for blosxom, but haven&#8217;t figured out how to get the required Compress::Zlib module to work from the <code>$plugin_dir\/lib<\/code> dir.  It uses AutoLoader, requiring a make step.  I did this, but couldn&#8217;t get it to work on my Mac.  Today I submitted a support request to iPowerWeb asking for mod_gzip support.  I&#8217;ll post the response when it comes.<\/p>","protected":false},"excerpt":{"rendered":"<p>I was thinking about speed today. Feeding this site into the free analyzer at WebSiteOptimization.com reminded me of a couple of facts I had already figured out. First, the blog is growing too long. Blosxom has a configuration variable called $num_entries to help with this. It allows you to limit how many blog entries appear [&hellip;]<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-34","post","type-post","status-publish","format-standard","hentry","category-thissite"],"_links":{"self":[{"href":"https:\/\/jclark.org\/weblog\/wp-json\/wp\/v2\/posts\/34","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jclark.org\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jclark.org\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jclark.org\/weblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jclark.org\/weblog\/wp-json\/wp\/v2\/comments?post=34"}],"version-history":[{"count":0,"href":"https:\/\/jclark.org\/weblog\/wp-json\/wp\/v2\/posts\/34\/revisions"}],"wp:attachment":[{"href":"https:\/\/jclark.org\/weblog\/wp-json\/wp\/v2\/media?parent=34"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jclark.org\/weblog\/wp-json\/wp\/v2\/categories?post=34"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jclark.org\/weblog\/wp-json\/wp\/v2\/tags?post=34"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}