{"id":3014,"date":"2021-06-01T19:26:39","date_gmt":"2021-06-01T13:26:39","guid":{"rendered":"https:\/\/betterdocs.co\/?p=3014"},"modified":"2021-06-01T20:18:32","modified_gmt":"2021-06-01T14:18:32","slug":"update-v1-8-0-code-refactoring","status":"publish","type":"post","link":"https:\/\/betterdocs.co\/it\/update-v1-8-0-code-refactoring\/","title":{"rendered":"BetterDocs Update v1.8.0: Code Refactoring To Load Documentation Site Faster &#038; More Improvements"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">With over 10,000+ active users <\/span><a href=\"https:\/\/betterdocs.co\/it\/\" target=\"_blank\" rel=\"nofollow noopener\"><b>BetterDocs<\/b><\/a> <span style=\"font-weight: 400;\">is a powerful WordPress plugin that has been creating a stunning knowledge base for some time now. We have introduced <\/span><b>code refactoring <\/b><span style=\"font-weight: 400;\">and several other new improvements with our latest release to make your documentation experience even more amazing.<\/span><\/p>\n<p><!--more--><\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter size-full wp-image-3017\" src=\"https:\/\/betterdocs.co\/wp-content\/uploads\/2021\/06\/1.png\" alt=\"code refactoring\" width=\"1280\" height=\"720\" title=\"\" srcset=\"https:\/\/betterdocs.co\/wp-content\/uploads\/2021\/06\/1.png 1280w, https:\/\/betterdocs.co\/wp-content\/uploads\/2021\/06\/1-300x169.png 300w, https:\/\/betterdocs.co\/wp-content\/uploads\/2021\/06\/1-1024x576.png 1024w, https:\/\/betterdocs.co\/wp-content\/uploads\/2021\/06\/1-768x432.png 768w, https:\/\/betterdocs.co\/wp-content\/uploads\/2021\/06\/1-16x9.png 16w\" sizes=\"(max-width: 1280px) 100vw, 1280px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">We constantly bring new updates so your <\/span><b>WordPress documentazione <\/b><span style=\"font-weight: 400;\">can perform well. So in this one, we optimized codes to our BetterDocs plugin. We urge you to <\/span><b>update to the newest version<\/b><span style=\"font-weight: 400;\"> of BetterDocs as soon as you can so you can. That way you can enjoy faster loading speed and better performance of your knowledge base website.<\/span><\/p>\n<p><b><i>Recommended<\/i><\/b><i><span style=\"font-weight: 400;\">: Make sure that you are using BetterDocs Free 1.8.0. For PRO users, make sure that you are using BetterDocs PRO 1.6.1<\/span><\/i><\/p>\n<h2><strong>Code Refactoring To Improve BetterDocs Performance<\/strong><\/h2>\n<p><span style=\"font-weight: 400;\">Previously, <\/span><b>BetterDocs<\/b><span style=\"font-weight: 400;\"> used to generate assets on all of the pages of your website. So, our scripts were loaded in the pages where you weren\u2019t using BetterDocs at all which wasn\u2019t a good practice. With <\/span><b>BetterDocs v1.8.0<\/b><span style=\"font-weight: 400;\">, we have done <\/span><b>code refactoring <\/b><span style=\"font-weight: 400;\">to enhance our asset loader process. As a result, assets on every page rather it only generates where <\/span><b>BetterDocs <\/b><span style=\"font-weight: 400;\">templates are used, this helps to load your web pages faster. <\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-3018\" src=\"https:\/\/betterdocs.co\/wp-content\/uploads\/2021\/06\/2.gif\" alt=\"Code Refactoring\" width=\"1920\" height=\"902\" title=\"\"><\/p>\n<p><span style=\"font-weight: 400;\">For instance, BetterDocs scripts and CSS files will only be loaded where you have used the plugin such as Docs page, Docs category, single docs, and others. BetterDocs assets won\u2019t be executed in your home pages &amp; others. Thus, it will massively improve the loading speed of your website.<img decoding=\"async\" class=\"wp-image-3019 alignright\" src=\"https:\/\/betterdocs.co\/wp-content\/uploads\/2021\/06\/3.jpg\" alt=\"Code Refactoring\" width=\"325\" height=\"325\" title=\"\" srcset=\"https:\/\/betterdocs.co\/wp-content\/uploads\/2021\/06\/3.jpg 1999w, https:\/\/betterdocs.co\/wp-content\/uploads\/2021\/06\/3-300x300.jpg 300w, https:\/\/betterdocs.co\/wp-content\/uploads\/2021\/06\/3-1024x1024.jpg 1024w, https:\/\/betterdocs.co\/wp-content\/uploads\/2021\/06\/3-150x150.jpg 150w, https:\/\/betterdocs.co\/wp-content\/uploads\/2021\/06\/3-768x768.jpg 768w, https:\/\/betterdocs.co\/wp-content\/uploads\/2021\/06\/3-1536x1536.jpg 1536w, https:\/\/betterdocs.co\/wp-content\/uploads\/2021\/06\/3-12x12.jpg 12w, https:\/\/betterdocs.co\/wp-content\/uploads\/2021\/06\/3-100x100.jpg 100w\" sizes=\"(max-width: 325px) 100vw, 325px\" \/><\/span><\/p>\n<p><span style=\"font-weight: 400;\">This improvement in loading times means that with BetterDocs templates used, you can now load your documentation faster and give an enhanced experience to your site visitors. Since slow websites can make you lose traffic, with this new BetterDocs update you will now be able to keep your visitors on your pages for a longer period of time.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">After adding code refactoring in <\/span><a href=\"https:\/\/wpdeveloper.net\/betterdocs-wordpress-knowledge-base\/\" target=\"_blank\" rel=\"nofollow noopener\"><b>BetterDocs<\/b><\/a><span style=\"font-weight: 400;\">, we also made some changes to make your documentation load faster. We improved the <\/span><b>\u201cflush_rewrite_rules\u201d<\/b><span style=\"font-weight: 400;\"> and now your visitors can enjoy faster loading documentation on your website.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Before this update <\/span><b>\u201cflush_rewrite_rules\u201d<\/b><span style=\"font-weight: 400;\"> used to get called every time the page loaded. Which can be a hurdle for your website performance. So we fixed it and released an optimized code in the new update. Now, this rule gets called only when you save your settings.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">With this improvement, you can notice that your page is loading even faster than before. Now your database website can load even faster and bring in more engagement to your WordPress website thanks to these optimized codes.\u00a0<\/span><\/p>\n<h2><strong>Few Minor Bug Fixes &amp; Other Improvements<\/strong><\/h2>\n<p><span style=\"font-weight: 400;\">We always care about our clients. So in this update, we didn\u2019t just optimize code, we also made a few minor bug fixes and improvements after getting suggestions from our valued <\/span><b>BetterDocs <\/b><span style=\"font-weight: 400;\">users.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Our team worked hard to find and fix all the minor bugs in this update for the free and premium versions. We are always trying to make the user experience as smooth as possible.\u00a0<\/span><\/p>\n<h2><strong>New Features For WordPress Documentation In BetterDocs<\/strong><\/h2>\n<p><span style=\"font-weight: 400;\">Recently we have also introduced a new feature called<\/span><a href=\"https:\/\/betterdocs.co\/it\/blog\/internal-documentation-wordpress\/\" target=\"_blank\" rel=\"nofollow noopener\"><b> internal knowledge base<\/b><\/a><span style=\"font-weight: 400;\">. People create documentation for visitors but now with BetterDocs plugin, you can create a restricted, WordPress internal knowledge base for your team so they can access information easily when they need to. <\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3021\" src=\"https:\/\/betterdocs.co\/wp-content\/uploads\/2021\/06\/5.png\" alt=\"Code Refactoring\" width=\"1280\" height=\"720\" title=\"\" srcset=\"https:\/\/betterdocs.co\/wp-content\/uploads\/2021\/06\/5.png 1280w, https:\/\/betterdocs.co\/wp-content\/uploads\/2021\/06\/5-300x169.png 300w, https:\/\/betterdocs.co\/wp-content\/uploads\/2021\/06\/5-1024x576.png 1024w, https:\/\/betterdocs.co\/wp-content\/uploads\/2021\/06\/5-768x432.png 768w, https:\/\/betterdocs.co\/wp-content\/uploads\/2021\/06\/5-16x9.png 16w\" sizes=\"(max-width: 1280px) 100vw, 1280px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">This feature can help to make important documentation easily available to your customers or even employees. You have to keep the documentation ready for your customers and having an internal knowledge base can create an efficient workflow<\/span><\/p>\n<p><span style=\"font-weight: 400;\">BetterDocs Internal WordPress documentation is <\/span><a href=\"https:\/\/betterdocs.co\/it\/docs\/how-to-manage-internal-knowledge-base\/\" target=\"_blank\" rel=\"nofollow noopener\"><b>easy to manage<\/b><\/a><span style=\"font-weight: 400;\">. And you can ensure a better workflow in your office when your team can avail information in seconds when they have to resolve an issue.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Another new feature we released in recent times is <\/span><a href=\"https:\/\/betterdocs.co\/it\/docs\/multiple-knowledge-bases-elementor\/\" target=\"_blank\" rel=\"nofollow noopener\"><b>multiple knowledge bases for Elementor<\/b><\/a><span style=\"font-weight: 400;\">. As you may already know, BetterDocs lets you create multiple knowledge bases in one WordPress website. But now, you can also create these multiple knowledge bases in Elementor Theme Builder effortlessly with the help of <\/span><b>\u2018BetterDocs Multiple KB\u2019 <\/b><span style=\"font-weight: 400;\">widget for Elementor. This way you can create a template for your multiple knowledge bases and simply insert them into your documentation pages when you want.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">You can manage multiple knowledge bases with BetterDocs and maintain individual online WordPress documentation for a variety of products on Elementor. It makes it very easy to get full control of all of your online documentation.<\/span><\/p>\n<h2><strong>Update Now To The Newest Version Of BetterDocs<\/strong><\/h2>\n<p><span style=\"font-weight: 400;\">Lastly, with this new update for <\/span><b>BetterDocs<\/b><span style=\"font-weight: 400;\">, we want to make your WordPress documentation load even faster with code refactoring and improvements in the \u201cflush_rewrite_rules\u201d. We strongly recommend you to update to the latest versions of our plugin, <\/span><a href=\"https:\/\/wordpress.org\/plugins\/betterdocs\/\" target=\"_blank\" rel=\"nofollow noopener\"><b>BetterDocs 1.8.0<\/b><\/a><span style=\"font-weight: 400;\"> for the free version and <\/span><a href=\"https:\/\/betterdocs.co\/it\/#pricing\" target=\"_blank\" rel=\"nofollow noopener\"><b>BetterDocs 1.6.1<\/b><\/a> <span style=\"font-weight: 400;\">for the premium version as soon as possible to make your BetterDocs experience even better.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">If you want to make your WordPress knowledge base website perform better then you need to update as soon as possible, as you will also be getting some minor bug fixes too. We constantly try to improve <\/span><b>BetterDocs<\/b><span style=\"font-weight: 400;\"> experience.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Feel free to leave us your suggestions on how we can improve your user experience. We love getting your feedback, share your thoughts on the comments and you can reach us through our <\/span><a href=\"https:\/\/wpdeveloper.net\/support\/\" target=\"_blank\" rel=\"nofollow noopener\"><b>team di supporto<\/b><\/a><span style=\"font-weight: 400;\">. If you want to stay updated with the latest news and tutorials, <\/span><a href=\"https:\/\/betterdocs.co\/it\/blog\/\" target=\"_blank\" rel=\"nofollow noopener\"><b>subscribe to our blog<\/b><\/a><span style=\"font-weight: 400;\"> or you can join our friendly <\/span><a href=\"https:\/\/www.facebook.com\/groups\/432798227512253\" target=\"_blank\" rel=\"nofollow noopener\"><b>Facebook Community<\/b><\/a><span style=\"font-weight: 400;\">.<\/span><\/p>","protected":false},"excerpt":{"rendered":"<p>BetterDocs have released a new update for their free and pro version. Read this blog to know more about this important update.<\/p>","protected":false},"author":15,"featured_media":3017,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_eb_attr":"","inline_featured_image":false,"_eb_data_table":"","_analytify_skip_tracking":false,"footnotes":"","_wpscppro_dont_share_socialmedia":false,"_wpscppro_custom_social_share_image":0,"_facebook_share_type":"","_twitter_share_type":"","_linkedin_share_type":"","_pinterest_share_type":"","_linkedin_share_type_page":"","_instagram_share_type":"","_medium_share_type":"","_threads_share_type":"","_google_business_share_type":"","_selected_social_profile":[],"_wpsp_enable_custom_social_template":false,"_wpsp_social_scheduling":{"enabled":false,"datetime":null,"platforms":[],"status":"template_only","dateOption":"today","timeOption":"now","customDays":"","customHours":"","customDate":"","customTime":"","schedulingType":"absolute"},"_wpsp_active_default_template":true},"categories":[62,34],"tags":[26,122,125,124,123,27],"class_list":["post-3014","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-updates","category-betterdocs","tag-betterdocs","tag-code-refactoring","tag-flush-rewrite-rules","tag-important-update","tag-optimized-code","tag-wordpress"],"nelio_content":{"autoShareEndMode":"never","automationSources":{"useCustomSentences":false,"customSentences":[]},"efiAlt":"","efiUrl":"","followers":[15],"highlights":[],"isAutoShareEnabled":true,"networkImageIds":[],"permalinkQueryArgs":[],"series":[],"suggestedReferences":[]},"_links":{"self":[{"href":"https:\/\/betterdocs.co\/it\/wp-json\/wp\/v2\/posts\/3014","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/betterdocs.co\/it\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/betterdocs.co\/it\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/betterdocs.co\/it\/wp-json\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/betterdocs.co\/it\/wp-json\/wp\/v2\/comments?post=3014"}],"version-history":[{"count":8,"href":"https:\/\/betterdocs.co\/it\/wp-json\/wp\/v2\/posts\/3014\/revisions"}],"predecessor-version":[{"id":3028,"href":"https:\/\/betterdocs.co\/it\/wp-json\/wp\/v2\/posts\/3014\/revisions\/3028"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/betterdocs.co\/it\/wp-json\/wp\/v2\/media\/3017"}],"wp:attachment":[{"href":"https:\/\/betterdocs.co\/it\/wp-json\/wp\/v2\/media?parent=3014"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/betterdocs.co\/it\/wp-json\/wp\/v2\/categories?post=3014"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/betterdocs.co\/it\/wp-json\/wp\/v2\/tags?post=3014"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}