It’s optional.Īlso optimize for logged-in editors/ administrators: As the author states, you can choose it or not depending on your website. Minify excluded CSS and JS files: If you exclude any files from the JS and CSS Options above, uncheck it will mean that you no longer minify the files. For some reason, you only uncheck it if your server has some error about compression and expiry. Save aggregated script/CSS as static files: You should check this option. Under the CDN Options is the Misc Options here. If you use Cloudflare, you don’t need this action. If you have a full CDN set up through any service, you can put the URL they give you here. It’s optional to enter your CDN (Content Delivery Network) root URL in the CDN Base URL tab. If you want to keep the comments, put a tick at Keep HTML comments. This action will compress the line of code to some extent to speed up your website. HTML Options and CDN Options SettingĮnable Optimize HTML Code, the whitespace and some comments of the HTML code of your website will be deleted. If the images’ sizes are large, Autoptimize will skip them to avoid any problem while rendering. It’s optional to choose Generate data: URIs for images depending on your images’ size. Inline and Defer CSS: It’s related to code so the author suggests you should check the FAQs page to have further information. However, as you can’t control the website traffic and it’s obvious that every website owner wants to increase the traffic, I don’t recommend this section. You should only use it to have a better score in PageSpeed Insights when the number of visitors is small. Inline all CSS shouldn’t be enabled if your website has a lot of traffic because it may slow down the speed. You should also enable Also aggregate inline CSS only when you are aware that your cache is growing and delete it. The Optimize CSS Code, Aggregate CSS-files, Also aggregate inline CSS and Exclude CSS from Autoptimize are similar to JS options above. Now scroll down and move to the CSS Options. This will help you normally fix something that wouldn’t work during the optimization.Īdd try-catch wrapping: If any files are breaking during the optimization process, you can enable it to troubleshoot. It may stop the page from rendering to fix the JS-error, which slows down your loading time.Įxclude scripts from Autoptimize: enter the scripts that you don’t want to aggregate. I don’t recommend that option.įorce JavaScript in isn’t recommended, either. So, make sure that you frequently clear your cache memory as too much cache is not good for your website. The Also aggregate inline JS when being enabled will increase your cache size despite giving faster page loading. This is because when you only minify the JavaScrip assets, they will not be united by default so you will have to select Aggregate JS file for them to be all aggregated and minified. That’s the most important thing to do in this part.Īnd look at the Aggregate JS-files, it’s also automatically enabled right after you check the Optimize JavaScript code box. After you put a tick on this box, other options in the Java Script Option section will show up like this.īy enabling Optimize JavaScript code, you actually enable the minification of JavaScrip assets to make your website faster. Stay in the JavaScript options, enable the Optimize JavaScript code. JS, CSS and HTML Settings JavaScript Options Settings But it’s not just easy like that as you should know which to tick and which not. You just need to put a tick to some of the boxes here. Here is the latest UI of Autoptimize Settings board: Stay in the Dashboard, go to Plugin and you will see the activated Autoptimize plugin here. You just need to search for it in the Dashboard and install, activate it normally.Ĭonfigure the Autoptimize Plugin to Speed Up Your WebsiteĪfter Autoptimize is ready to use, you need to configure it. The free version of Autoptimize is available on. Apparently, you have to install and activate the plugin.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |