{"id":37876,"date":"2022-12-12T15:47:03","date_gmt":"2022-12-12T20:47:03","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=37876"},"modified":"2022-12-12T15:47:03","modified_gmt":"2022-12-12T20:47:03","slug":"blog-updates-late-2022","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2022\/12\/12\/blog-updates-late-2022\/","title":{"rendered":"Blog Updates (Late 2022)"},"content":{"rendered":"<p>Over the last month or two I&rsquo;ve made several improvements to this blog:<\/p>\n<ul>\n<li><p>The CSS now adapts the colors for Dark Mode.<\/p><\/li>\n<li><p>I&rsquo;ve adjusted the WordPress caching so that pages should load much faster. No matter what I did, I kept running into an issue where <a href=\"https:\/\/wordpress.org\/plugins\/wp-super-cache\/\">WP Super Cache<\/a> would fail to expire certain versions of the cached RSS feed when it changed. Thus, some readers wouldn&rsquo;t see any new posts. I worked around this by adding a cron job to clear the feed cache every five minutes. Despite this, it should still properly return HTTP status 304 when the feed <em>hasn&rsquo;t<\/em> changed, so that savvy feed readers don&rsquo;t have to re-download the XML.<\/p><\/li>\n<li><p>Sometimes the server would get overloaded and be unable to respond to requests at all. I think this was due to the server itself&mdash;it was grandfathered with old software versions on a legacy VPS plan&mdash;rather than the number of requests it had to process. I moved the site to a new VPS, which is also more powerful, and CPU usage has gone down from 30&#x2013;85% to 0&#x2013;3%.<\/p><\/li>\n<\/ul>\n<p>Hopefully, none of these changes has introduced any new problems. If you see anything wrong, please let me know.<\/p>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2021\/03\/31\/subscribing-to-updated-blog-posts\/\">Subscribing to Updated Blog Posts<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Over the last month or two I&rsquo;ve made several improvements to this blog: The CSS now adapts the colors for Dark Mode. I&rsquo;ve adjusted the WordPress caching so that pages should load much faster. No matter what I did, I kept running into an issue where WP Super Cache would fail to expire certain versions [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2022-12-12T20:47:05Z","apple_news_api_id":"85658217-188c-4c66-a44a-4329288d0765","apple_news_api_modified_at":"2022-12-12T20:47:05Z","apple_news_api_revision":"AAAAAAAAAAD\/\/\/\/\/\/\/\/\/\/w==","apple_news_api_share_url":"https:\/\/apple.news\/AhWWCFxiMTGakSkMpKI0HZQ","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[1899,338,1805,138,1659,96,740],"class_list":["post-37876","post","type-post","status-publish","format-standard","hentry","category-technology","tag-cron","tag-css","tag-dark-mode","tag-optimization","tag-this-blog","tag-web","tag-wordpress"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/37876","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=37876"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/37876\/revisions"}],"predecessor-version":[{"id":37877,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/37876\/revisions\/37877"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=37876"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=37876"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=37876"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}