You will now see the HTML source code generated by your WordPress site. ![]() Right click anywhere and then select ‘View Page Source’ from browser menu. Next, you need to head over to your website. The default settings will work for most websites, but you can review and change these options on a case by case basis. There are many other advanced options on this page. You can now click on the Save Changes button to store your settings. On the settings page, you need to check the first two options to automatically minify JavaScript and CSS files on your WordPress site. Clicking on it will take you to plugin’s settings page. Upon activation, the plugin will add a new menu item labeled ‘BWP Minify’ to your WordPress admin bar. Minify CSS/Javascript in WordPressįirst thing you need to do is install and activate the Better WordPress Minify plugin. Having said that let’s take a look at how to easily minify CSS/JavaScript on your WordPress site. If you are trying to achieve 100/100 score on Google Pagespeed or GTMetrix tool, then minifying CSS and JavaScript will significantly improve your score. You can reduce more pageload time by simply optimizing images for web.īody The minification only decreases few kilobytes of data on most WordPress sites. However, some experts believe that the performance improvement is very small for most websites and not worth the trouble. Compact files are faster to load and improve your site’s speed. The obvious advantage of minifying files is improved WordPress speed and performance. You can minify PHP files too, but PHP is a server-side programming language and minifying it will not improve page load speed for your users. This includes HTML, CSS, and JavaScript files. Usually it is recommended to be used only for files that are sent to user’s browsers. It achieves this goal by removing white spaces, lines, and unnecessary characters from the source code. The term ‘Minify’ is used to describe a method which makes your website file size smaller. ![]() In this guide, we will show you how to minify CSS/Javascript files in WordPress to improve performance and speed. Minifying CSS / JavaScript of your website is certainly one of the factors which helps improving your website overall speed. To make sure that your site load faster whenever any user is visiting your website, you need to comply to all specified set of rules and regulation those are predefined by search engine giants such as Google or Bing. To attain better rankings, there are some important ranking factors of SEO to be taken care of and speed of your website is definitely one of them. SEO is an important aspect for any webmaster since good ranking in the search engine assures heavy traffic to your website thus gaining lot of profit at the end of the day. So, lets see how to minify css and javascript of your website.
0 Comments
Leave a Reply. |