{"id":904,"date":"2015-10-16T09:30:32","date_gmt":"2015-10-16T00:30:32","guid":{"rendered":"https:\/\/kusanagi.tokyo\/en-kusanagi8\/?page_id=904"},"modified":"2016-07-28T12:39:54","modified_gmt":"2016-07-28T03:39:54","slug":"kusanagi_plugin","status":"publish","type":"page","link":"https:\/\/kusanagi.tokyo\/en-kusanagi8\/document\/kusanagi_plugin\/","title":{"rendered":"KUSANAGI Plug-ins"},"content":{"rendered":"<h2>KUSANAGI plug-ins<\/h2>\n<p>KUSANAGI plug-ins are bundled with KUSANAGI and ready to use. The plug-ins include accelerating features such as Page Cache and Translate Accelerator, as well as a theme switching feature.<\/p>\n<h3>Feature Summary<\/h3>\n<h4>Page Caching<\/h4>\n<p>Page Caching temporarily saves HTML display data and reuses it to speed up the loading time of the page.<\/p>\n<h4>Performance Display<\/h4>\n<p>The execution speed of WordPress and the number of queries appear on the control bar. The background color will change depending on the number. You can switch the plug-in on and off from the settings screen.<\/p>\n<h4>Device Switching<\/h4>\n<p>Device Switching can change the display theme according to different mobile devices, such as smartphones and tablets, to optimize the display. Even with the cache function enabled, this plug-in can switch themes correctly for each device.<\/p>\n<h4>Translation Accelerator<\/h4>\n<p>Translation Accelerator can disable the translation of WordPress, plug-ins and themes that support multiple languages, or cache the translation data. This plug-in accelerates the loading of translation data and reduces loading time of pages.<\/p>\n<h3>How to use KUSANAGI plug-ins<\/h3>\n<p>Click KUSANAGI from the menu on management screen to show \u201cKUSANAGI Settings\u201d. You can configure each plug-in from this screen.<\/p>\n<div style=\"width: 484px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kusanagi.tokyo\/en-kusanagi8\/wp-content\/uploads\/2015\/10\/plugin1.png\" alt=\"plugin1\" width=\"474\" height=\"270\" \/><p class=\"wp-caption-text\">KUSANAGI Settings<\/p><\/div>\n<h4>Page Caching settings<\/h4>\n<p>Page Caching is disabled by default.<\/p>\n<p>Log in to the virtual machine via SSH, switch to root user, and run the following command to enable cache.<\/p>\n<pre># kusanagi bcache on<\/pre>\n<div style=\"width: 484px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kusanagi.tokyo\/en-kusanagi8\/wp-content\/uploads\/2015\/10\/plugin2.png\" alt=\"plugin2\" width=\"474\" height=\"407\" \/><p class=\"wp-caption-text\">Page Cache<\/p><\/div>\n<ol>\n<li>Cache expiration time<br \/>\nYou can set cache expiration time separately for front page, archives, and articles.<\/li>\n<li>Cache URL exceptions<br \/>\nYou can specify URLs that you wish to exclude from caching.<br \/>\nCache is disabled below wp-admin directory by default.<\/li>\n<li>Query string to cache<br \/>\nYou can specify query strings that cache is enabled.<br \/>\nWordPress default queries have already been specified in advance, so you don\u2019t have to register them here.<\/li>\n<li>Cache to delete when publishing an article<br \/>\nYou can set the scope of cache to be removed at the same time of publishing an article. For example, it is effective when you want to post the latest article on the front page.<\/li>\n<li>Clear cache<br \/>\nYou can delete all the cache generated.<br \/>\nPlease note that for high traffic websites, server load may increase temporarily after the cache is cleared.<\/li>\n<li>Restoration of advanced-cache.php<br \/>\nMake sure to click this button to perform the restoration if you want to change the cache starting time or any cache settings listed above in 1 to 4.<\/li>\n<li>Save the changes.<\/li>\n<\/ol>\n<h4>Performance Display settings<\/h4>\n<div style=\"width: 484px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kusanagi.tokyo\/en-kusanagi8\/wp-content\/uploads\/2015\/10\/plugin3.png\" alt=\"plugin3\" width=\"474\" height=\"177\" \/><p class=\"wp-caption-text\">Performance Viewer<\/p><\/div>\n<ol>\n<li>Disable or enable the performance display.<\/li>\n<li>Select the capability authorization for displaying performance.<\/li>\n<li>Save the changes.<\/li>\n<\/ol>\n<h4>Device Switching settings<\/h4>\n<div style=\"width: 484px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kusanagi.tokyo\/en-kusanagi8\/wp-content\/uploads\/2015\/10\/plugin4.png\" alt=\"plugin4\" width=\"474\" height=\"200\" \/><p class=\"wp-caption-text\">Device Theme Switcher<\/p><\/div>\n<ol>\n<li>Stop switching themes for different devices<br \/>\nCheck or uncheck the box to enable or disable device switching. It is disabled by default.<\/li>\n<li>Group<br \/>\nSpecify the theme for each device.<br \/>\nBy default, smartphone and tablet are registered. You can configure \u201cThemes to be used for smartphone access\u201d and \u201cThemes to be used for tablet access\u201d.<\/li>\n<li>Device<br \/>\nSpecify the group for each device.<br \/>\nIn most case, you don\u2019t have to change the group because the value is set for most general devices by default.<\/li>\n<\/ol>\n<h4>Translation Accelerator settings<\/h4>\n<div style=\"width: 484px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kusanagi.tokyo\/en-kusanagi8\/wp-content\/uploads\/2015\/10\/plugin5.png\" alt=\"plugin5\" width=\"474\" height=\"270\" \/><p class=\"wp-caption-text\">Translate Accelerator<\/p><\/div>\n<ol>\n<li>Enable acceleration<br \/>\nEnable or disable the Translation Accelerator.<\/li>\n<li>Type<br \/>\nConfigure the type of cache. The type is set as APC by default and in most cases you don\u2019t have to change it.<\/li>\n<li>Acceleration setting for each screen<br \/>\nYou can perform settings for \u201cTranslated text to display\u201d, \u201cLogin\/signup page translation\u201d, and \u201cAdmin page translation\u201d.<br \/>\nBy default, \u201cDisable translation\u201d is set for \u201cTranslated text displayed in your site\u201d, and \u201cEnable cache\u201d for others.<br \/>\nIf you use themes that don\u2019t have translation, then you don\u2019t need to make any changes.<\/li>\n<li>Delete cache<br \/>\nThis clears the cache. If you have changed cache settings, please check the box and click \u201cSave Changes\u201d.<\/li>\n<li>Save the changes<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>KUSANAGI plug-ins KUSANAGI plug-ins are bundled with KUSANAGI and ready to use. The plug-ins include accelerating features such as Page Cache and Translate Accelerator, as well as a theme switching feature. Feature Summary Page Caching Page Caching temporarily saves HTML display data and reuses it to speed up the loading time of the page. Performance [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":784,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-904","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/kusanagi.tokyo\/en-kusanagi8\/wp-json\/wp\/v2\/pages\/904","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kusanagi.tokyo\/en-kusanagi8\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/kusanagi.tokyo\/en-kusanagi8\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/kusanagi.tokyo\/en-kusanagi8\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/kusanagi.tokyo\/en-kusanagi8\/wp-json\/wp\/v2\/comments?post=904"}],"version-history":[{"count":18,"href":"https:\/\/kusanagi.tokyo\/en-kusanagi8\/wp-json\/wp\/v2\/pages\/904\/revisions"}],"predecessor-version":[{"id":1934,"href":"https:\/\/kusanagi.tokyo\/en-kusanagi8\/wp-json\/wp\/v2\/pages\/904\/revisions\/1934"}],"up":[{"embeddable":true,"href":"https:\/\/kusanagi.tokyo\/en-kusanagi8\/wp-json\/wp\/v2\/pages\/784"}],"wp:attachment":[{"href":"https:\/\/kusanagi.tokyo\/en-kusanagi8\/wp-json\/wp\/v2\/media?parent=904"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}