{"id":4533,"date":"2003-08-11T15:05:31","date_gmt":"2003-08-11T22:05:31","guid":{"rendered":"http:\/\/hill-kleerup.org\/blog\/wp\/?p=4533"},"modified":"2003-08-11T15:05:31","modified_gmt":"2003-08-11T22:05:31","slug":"inclusivity","status":"publish","type":"post","link":"https:\/\/hill-kleerup.org\/blog\/2003\/08\/11\/inclusivity.html","title":{"rendered":"Inclusivity"},"content":{"rendered":"<p>During something or another I was doing over the weekend, I noticed that I was running out of disk space again.  And that the majority of it was in my blog directly.  My blog archives directory, in point of fact (significantly larger than the images directory, which would have been my guess).<\/p>\n<p>I like individual archive entries.  It just makes sense to me.  I want to keep the Category and Monthly archives, because on occasion it&#8217;s nice to see things in those context.  But, in point of fact, they take up a minimum of space, vs the 4,500 individual entries I have (yeesh).<\/p>\n<p>But I like individual entries.<\/p>\n<p>So this morning, I downloaded and printed out one of my entries &#8212; a short one, in fact, just a few paragraphs long.<\/p>\n<p>The print-out was fifteen pages long.  35Kb in size that bugger was.<\/p>\n<p>All those links and images and other such felgercarb were seriously bloating each and every individual file.  Do the math.  That&#8217;s 156Mb (rounding things off).<\/p>\n<p>So I&#8217;ve started using Server Side Includes, extensively.  We&#8217;ll see how that works out.  SSI has include comments in the HTML files pointing to boilerplate text (or scripts, etc.) in other files.  Rather than that stuff being duplicated in every single post, it gets slipstreamed into the HTML that gets downloaded from the server to the browser.<\/p>\n<p>So wherever I had blocks of HTML or Java code, etc., that didn&#8217;t have any MT template commands embedded in it, I turned it into includes.  That was actually pretty easy, since I was already doing a lot of stuff with MTInclude templates; some of those just changed into SSI templates.<\/p>\n<p>Yes, that may take a fraction longer, time-wise.  And it increases the server load, too.   If I get a nastygram from HostingMatters, I&#8217;ll have to reevaluate &#8212; but the technique is documented in their online forums.<\/p>\n<p>(And, yes, I guess I could do it with PHP, too.  Aside from not wanting to turn all my pages back into PHP pages, though, I&#8217;m not sure why I would.)<\/p>\n<p>At any rate, after all that diddling around, that same HTML file?  7Kb.  In other words, about 28Kb less.  Or, across 4500 posts, about a 126Mb savings.<\/p>\n<p>That gives me a little breathing space again. youbetcha.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>During something or another I was doing over the weekend, I noticed that I was running out of disk space again. And that the majority of it was in my&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","_seopress_robots_follow":"","_seopress_robots_imageindex":"","_seopress_robots_snippet":"","_seopress_robots_primary_cat":"","_seopress_robots_breadcrumbs":"","_seopress_robots_freeze_modified_date":"","_seopress_robots_custom_modified_date":"","_seopress_robots_canonical":"","_seopress_social_fb_title":"","_seopress_social_fb_desc":"","_seopress_social_fb_img":"","_seopress_social_fb_img_attachment_id":0,"_seopress_social_fb_img_width":0,"_seopress_social_fb_img_height":0,"_seopress_social_twitter_title":"","_seopress_social_twitter_desc":"","_seopress_social_twitter_img":"","_seopress_social_twitter_img_attachment_id":0,"_seopress_social_twitter_img_width":0,"_seopress_social_twitter_img_height":0,"_seopress_redirections_value":"","_seopress_redirections_enabled":"","_seopress_redirections_enabled_regex":"","_seopress_redirections_logged_status":"","_seopress_redirections_param":"","_seopress_redirections_type":0,"_seopress_analysis_target_kw":"","_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[3],"tags":[],"class_list":["post-4533","post","type-post","status-publish","format-standard","hentry","category-blogging"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":5459,"url":"https:\/\/hill-kleerup.org\/blog\/2004\/03\/08\/static_about_dy.html","url_meta":{"origin":4533,"position":0},"title":"Static about Dynamic","author":"***Dave","date":"Mon 8-Mar-04 10:09am","format":false,"excerpt":"If you look out on the web, you'll find that one thing that many people criticize Movable Type is that it creates static pages. You'll also find that one thing...","rel":"","context":"In &quot;Blogging &amp; Internet&quot;","block_context":{"text":"Blogging &amp; Internet","link":"https:\/\/hill-kleerup.org\/blog\/category\/blogging"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":10503,"url":"https:\/\/hill-kleerup.org\/blog\/2007\/01\/03\/in_my_copious_free_time.html","url_meta":{"origin":4533,"position":1},"title":"In my copious free time &#8230;","author":"***Dave","date":"Wed 3-Jan-07 11:27pm","format":false,"excerpt":"Rrg. Not only are my monthly blog archives frelled up (they pull up everything, starting with now), but the daily archives aren't showing the right \"previous\/next\" entries up at the...","rel":"","context":"In &quot;Blogging &amp; Internet&quot;","block_context":{"text":"Blogging &amp; Internet","link":"https:\/\/hill-kleerup.org\/blog\/category\/blogging"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":10843,"url":"https:\/\/hill-kleerup.org\/blog\/2007\/06\/18\/we_are_experiencing_techn.html","url_meta":{"origin":4533,"position":2},"title":"We are experiencing technical difficulties","author":"***Dave","date":"Mon 18-Jun-07 9:10am","format":false,"excerpt":"Ugh.\u00a0 Getting a MySQL error (\"SQL\/DB Error -- [Table 'mt_tbping' is marked as crashed and should be repaired]\") on my blogs when I try to pull up individual entries (e.g.,...","rel":"","context":"In &quot;Blogging &amp; Internet&quot;","block_context":{"text":"Blogging &amp; Internet","link":"https:\/\/hill-kleerup.org\/blog\/category\/blogging"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":11897,"url":"https:\/\/hill-kleerup.org\/blog\/2008\/01\/05\/installing_movable_type_4.html","url_meta":{"origin":4533,"position":3},"title":"Installing Movable Type 4","author":"***Dave","date":"Sat 5-Jan-08 8:03pm","format":false,"excerpt":"I'm going to use this post to keep track of my MT4 installation.\u00a0 The good folks at Hosting Matters (who are probably sick and tired of my site sucking...","rel":"","context":"In &quot;Blogging &amp; Internet&quot;","block_context":{"text":"Blogging &amp; Internet","link":"https:\/\/hill-kleerup.org\/blog\/category\/blogging"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":9551,"url":"https:\/\/hill-kleerup.org\/blog\/2006\/06\/06\/timing_out_is_e.html","url_meta":{"origin":4533,"position":4},"title":"Timing Out is Everything","author":"***Dave","date":"Tue 6-Jun-06 9:26am","format":false,"excerpt":"I was having some odd problems with my WDW 06 category, where it wouldn't actually come up with any content when I went to it. Not all the archives were...","rel":"","context":"In &quot;Blogging &amp; Internet&quot;","block_context":{"text":"Blogging &amp; Internet","link":"https:\/\/hill-kleerup.org\/blog\/category\/blogging"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4970,"url":"https:\/\/hill-kleerup.org\/blog\/2003\/11\/24\/lexicon.html","url_meta":{"origin":4533,"position":5},"title":"Lexicon","author":"***Dave","date":"Mon 24-Nov-03 3:57pm","format":false,"excerpt":"The new 20' By 20' Room gaming blog has a suggestion for a very fun-sounding collaborative world-building exercise, \"Lexicon.\" The basic idea is that each player takes on the role...","rel":"","context":"In &quot;Gaming&quot;","block_context":{"text":"Gaming","link":"https:\/\/hill-kleerup.org\/blog\/category\/gaming"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/hill-kleerup.org\/blog\/wp-json\/wp\/v2\/posts\/4533","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hill-kleerup.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hill-kleerup.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hill-kleerup.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/hill-kleerup.org\/blog\/wp-json\/wp\/v2\/comments?post=4533"}],"version-history":[{"count":0,"href":"https:\/\/hill-kleerup.org\/blog\/wp-json\/wp\/v2\/posts\/4533\/revisions"}],"wp:attachment":[{"href":"https:\/\/hill-kleerup.org\/blog\/wp-json\/wp\/v2\/media?parent=4533"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hill-kleerup.org\/blog\/wp-json\/wp\/v2\/categories?post=4533"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hill-kleerup.org\/blog\/wp-json\/wp\/v2\/tags?post=4533"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}