<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Darius Grigorjevas</title>
    <description>The latest articles on DEV Community by Darius Grigorjevas (@darius_grig).</description>
    <link>https://dev.to/darius_grig</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F318141%2F37841073-62f0-438e-af0a-8b425b27b3cf.jpg</url>
      <title>DEV Community: Darius Grigorjevas</title>
      <link>https://dev.to/darius_grig</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/darius_grig"/>
    <language>en</language>
    <item>
      <title>Web Hosting. What Features You Would Add?</title>
      <dc:creator>Darius Grigorjevas</dc:creator>
      <pubDate>Thu, 12 Mar 2020 14:41:07 +0000</pubDate>
      <link>https://dev.to/darius_grig/web-hosting-what-features-you-would-add-230l</link>
      <guid>https://dev.to/darius_grig/web-hosting-what-features-you-would-add-230l</guid>
      <description>&lt;p&gt;&lt;strong&gt;What features have you missed and think that would be a nice addition to a web hosting that you use?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Let's talk about this in the comments!&lt;/p&gt;

</description>
      <category>discuss</category>
      <category>hosting</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Your favorite underrated CSS properties</title>
      <dc:creator>Darius Grigorjevas</dc:creator>
      <pubDate>Tue, 10 Mar 2020 09:08:29 +0000</pubDate>
      <link>https://dev.to/darius_grig/your-favorite-underrated-css-properties-2m6b</link>
      <guid>https://dev.to/darius_grig/your-favorite-underrated-css-properties-2m6b</guid>
      <description>&lt;p&gt;We all know that CSS has many underrated properties that tend to be forgotten over time, despite being useful. For example, &lt;code&gt;clip&lt;/code&gt;, &lt;code&gt;font-stretch&lt;/code&gt;, or &lt;code&gt;text-shadow&lt;/code&gt; are a few of my favorite properties that are used less.&lt;/p&gt;

&lt;p&gt;Also, I would like to mention &lt;em&gt;scroll appearance properties&lt;/em&gt;. Even though being only a small detail, a nice scrollbar can positively enhance the overall look of your web application!&lt;/p&gt;

&lt;p&gt;What are some of &lt;em&gt;your&lt;/em&gt; favorite &lt;strong&gt;not so popular&lt;/strong&gt; CSS properties?&lt;/p&gt;

</description>
      <category>discuss</category>
      <category>webdev</category>
      <category>css</category>
      <category>html</category>
    </item>
    <item>
      <title>How To Solve?: "ECONNREFUSED - connection refused by server" </title>
      <dc:creator>Darius Grigorjevas</dc:creator>
      <pubDate>Fri, 06 Mar 2020 13:30:44 +0000</pubDate>
      <link>https://dev.to/darius_grig/how-to-solve-econnrefused-connection-refused-by-server-4c5h</link>
      <guid>https://dev.to/darius_grig/how-to-solve-econnrefused-connection-refused-by-server-4c5h</guid>
      <description>&lt;p&gt;Chances are that while you've been using &lt;a href="https://filezilla-project.org/"&gt;FileZilla&lt;/a&gt; you've also come across the &lt;strong&gt;ECONNREFUSED - connection refused by a server&lt;/strong&gt; error. If that's the case - great that you've found this tutorial! I am going to show you three methods that might help you with resolving this FTP error.&lt;/p&gt;

&lt;h3&gt;
  
  
  First Method. Changing FileZilla's Default Port Value
&lt;/h3&gt;

&lt;p&gt;The error could appear due to using the incorrect port while connecting through FileZilla. In this situation, you just need to &lt;strong&gt;change the default FTP port to the default SFTP port&lt;/strong&gt; number. Simply change &lt;strong&gt;21&lt;/strong&gt; to &lt;strong&gt;22&lt;/strong&gt; on the "&lt;strong&gt;Port&lt;/strong&gt;" input box.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--K9sO5bXl--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/i28p239u4uzkqddmirno.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--K9sO5bXl--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/i28p239u4uzkqddmirno.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Second Method. Disabling Anti-Virus/Firewall
&lt;/h3&gt;

&lt;p&gt;Sometimes this error can occur when anti-virus software and/or firewall is refusing FileZilla's tries to make a connection.&lt;/p&gt;

&lt;p&gt;In the event where anti-virus or firewall is causing ECONNREFUSED, what you need to do is simple. What you need to do: disable anti-virus and firewall and try to connect again. Firstly I'll show you how to do this on &lt;strong&gt;macOS&lt;/strong&gt; :&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Click the "&lt;strong&gt;Apple&lt;/strong&gt;" icon on the top menu bar. Navigate to "&lt;strong&gt;System Preferences&lt;/strong&gt;".&lt;/li&gt;
&lt;li&gt;Find the "&lt;strong&gt;Security &amp;amp; Privacy&lt;/strong&gt;" settings.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Bm6Tbk_9--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/gx009fns10n2v8ydhuwf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Bm6Tbk_9--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/gx009fns10n2v8ydhuwf.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Go to the "&lt;strong&gt;Firewall&lt;/strong&gt;" tab and select "&lt;strong&gt;Turn Off Firewall&lt;/strong&gt;".&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--pcEp_8pV--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/6y7u3xbhpooveu3fcyp3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--pcEp_8pV--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/6y7u3xbhpooveu3fcyp3.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you're using &lt;strong&gt;Windows&lt;/strong&gt;, follow these steps:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Hit the "&lt;strong&gt;Windows"&lt;/strong&gt; key and type in "&lt;strong&gt;Control Panel&lt;/strong&gt;".&lt;/li&gt;
&lt;li&gt;Then go to "&lt;strong&gt;System and Security&lt;/strong&gt;" and find "&lt;strong&gt;Windows Defender Firewall&lt;/strong&gt;".&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--4s03zyo2--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/5qkth7sdk8usnizwu3p4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--4s03zyo2--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/5qkth7sdk8usnizwu3p4.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Locate "&lt;strong&gt;Turn Windows Defender Firewall on or off&lt;/strong&gt;" selection on the sidebar on the left.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--cJUL0VtP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/n4tpw1ylwzx8postypd7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--cJUL0VtP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/n4tpw1ylwzx8postypd7.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Alter the options to switch off Windows Defender Firewall for public and private networks, in the following window and click "&lt;strong&gt;Ok&lt;/strong&gt;".&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For a thorough explanation of how to deactivate various anti-virus software, take a look at &lt;a href="https://blog.pcrisk.com/windows/12405-how-to-temporarily-disable-your-antivirus"&gt;this post&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;If turning off the anti-virus or firewall doesn't help and you still get the ECONNREFUSED - connection refused by the server error - try the following method.&lt;/p&gt;

&lt;h3&gt;
  
  
  Third Method. Altering FileZilla's Network Configuration Wizard
&lt;/h3&gt;

&lt;p&gt;What should you do if the previous solutions don't bring the desired result? To fix the error, you can try altering FileZilla's network configurations:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://www.hostinger.com/tutorials/ftp/filezilla-ftp-configuration"&gt;Connect to FileZilla FTP client&lt;/a&gt;, then go to "&lt;strong&gt;Edit&lt;/strong&gt;" and then to "&lt;strong&gt;Network Configuration Wizard&lt;/strong&gt;".&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--daMQbjkd--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/gzd53la52s9gmo0tmag3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--daMQbjkd--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/gzd53la52s9gmo0tmag3.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;When "&lt;strong&gt;Firewall and router configuration wizard&lt;/strong&gt;" window appears, click "&lt;strong&gt;Next&lt;/strong&gt;" to continue.&lt;/li&gt;
&lt;li&gt;As the Default transfer mode select "&lt;strong&gt;Passive (recommended)&lt;/strong&gt;". Also, tick "&lt;strong&gt;Allow fallback to another transfer mode on failure&lt;/strong&gt;" selection.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--0udHVyFF--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/gih10cgdv6q9leeutlv2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--0udHVyFF--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/gih10cgdv6q9leeutlv2.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Choose "&lt;strong&gt;Use server's external IP address instead&lt;/strong&gt;".&lt;/li&gt;
&lt;li&gt;Select the "&lt;strong&gt;Get the external IP address from the following URL&lt;/strong&gt;". Enter the default value in case the input field is empty and continue (default value is &lt;a href="http://ip.fillezilla-project.org/ip.php"&gt;&lt;strong&gt;http://ip.filezilla-project.org/ip.php&lt;/strong&gt;&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;Do not adjust the port range configuration and then choose the "&lt;strong&gt;Ask operating system for a port&lt;/strong&gt;".&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;At this point, you need to ensure that you've made correct configurations. Hit the "&lt;strong&gt;Test&lt;/strong&gt;" button to let FileZilla try to make a connection to &lt;strong&gt;probe.filezilla-project.org&lt;/strong&gt; and it will perform some simple benchmarks.&lt;/p&gt;

&lt;p&gt;If the test goes without any failures, attempt to connect to your hosting account once more. It should work perfectly well. In case the "&lt;strong&gt;ECONNREFUSED&lt;/strong&gt;" error repeats itself, you should try reaching out to your hosting customer support to get some help.&lt;/p&gt;

&lt;h3&gt;
  
  
  To Conclude
&lt;/h3&gt;

&lt;p&gt;There you go - three methods of fixing ECONNREFUSED - connection refused by server error. Hopefully, one of these three methods will help you to fix this FileZilla error! If you have questions or more solutions for this error, do not hesitate to leave a comment!&lt;/p&gt;

</description>
      <category>tutorial</category>
      <category>help</category>
      <category>beginners</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Eliminating Render-Blocking JavaScript and CSS on WordPress</title>
      <dc:creator>Darius Grigorjevas</dc:creator>
      <pubDate>Fri, 28 Feb 2020 15:33:37 +0000</pubDate>
      <link>https://dev.to/darius_grig/eliminating-render-blocking-javascript-and-css-on-wordpress-4g8g</link>
      <guid>https://dev.to/darius_grig/eliminating-render-blocking-javascript-and-css-on-wordpress-4g8g</guid>
      <description>&lt;p&gt;Outstanding loading speed is an essential website feature for a high ranking in &lt;b&gt;SERP &lt;/b&gt;(&lt;b&gt;S&lt;/b&gt;earch &lt;b&gt;E&lt;/b&gt;ngine &lt;b&gt;R&lt;/b&gt;esult Pages). &lt;a href="https://developers.google.com/speed/pagespeed/insights/"&gt;PageSpeed Insights&lt;/a&gt; by Google is an excellent tool for precisely that - optimizing your website’s loading &lt;a href="https://www.hostinger.com/tutorials/website-speed-test/"&gt;speed&lt;/a&gt;. Let’s say you’re using this tool and get the “&lt;b&gt;Eliminate render-blocking JavaScript and CSS in above-the-fold content&lt;/b&gt;” warning. No need to worry! In this tutorial, I will show you how to address the issue.&lt;/p&gt;

&lt;h2&gt;Understanding “Eliminate render-blocking JavaScript and CSS in above-the-fold content” Warning
&lt;/h2&gt;

&lt;p&gt;While reading Google’s &lt;a href="https://developers.google.com/web/fundamentals/performance/critical-rendering-path/page-speed-rules-and-recommendations"&gt;PageSpeed rules&lt;/a&gt;, you can see that “Eliminate render-blocking JavaScript and CSS” is one of the rules. Failing to do this will affect your website’s loading speed - slow it down. Now you’re probably wondering how can JavaScript and CSS make your website slower?&lt;/p&gt;

&lt;p&gt;To put it simply, whenever you set up a new plugin or theme, they will enrich the front-end with new JavaScript and CSS code. Therefore browsers may take longer to load the webpage.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;ATF&lt;/b&gt; (&lt;b&gt;A&lt;/b&gt;bove &lt;b&gt;T&lt;/b&gt;he &lt;b&gt;F&lt;/b&gt;old) is the part of your website that is visible after the first load. Any other part - anything you see after scrolling down is &lt;b&gt;BTF&lt;/b&gt; (&lt;b&gt;B&lt;/b&gt;elow &lt;b&gt;T&lt;/b&gt;he &lt;b&gt;F&lt;/b&gt;old).&lt;/p&gt;

&lt;p&gt;This warning gets pretty clear now doesn’t it? If any irrelevant JavaScript and CSS are rendered when someone visits your website, you might receive a warning to decrease the range of render-blocking JavaScript and CSS in above-the-fold content.&lt;/p&gt;

&lt;h2&gt;Discovering Render-Blocking JavaScript and CSS Using Google PageSpeed Insights&lt;/h2&gt;

&lt;p&gt;To fix render-blocking, you should first test your website’s speed with &lt;a href="https://developers.google.com/speed/pagespeed/insights/"&gt;PageSpeed Insights&lt;/a&gt;:&lt;/p&gt;

&lt;ol&gt;
    &lt;li&gt;Go to the page, paste your website’s URL address in the “&lt;b&gt;Enter a web page URL&lt;/b&gt;” field.&lt;/li&gt;
    &lt;li&gt;Hit &lt;b&gt;Analyze&lt;/b&gt; to get the results.

&lt;p&gt;&lt;i&gt;Since most websites score around 50 to 70, this should help you measure your score. Also, Google will list recommendations to improve the performance of your site.&lt;/i&gt;&lt;/p&gt;

&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--6u9DddQX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://habrastorage.org/webt/kr/n0/pz/krn0pzp487owxjn3g1pxoian0w8.png"&gt;
        &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;If you happen to discover the recommendation to remove render-blocking JavaScript and CSS in above-the-fold content, then I’d suggest you settle the issue.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--r2mpJ3wP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://habrastorage.org/webt/lg/df/vo/lgdfvoakuvjdqw5dt5qghk_n8je.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--r2mpJ3wP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://habrastorage.org/webt/lg/df/vo/lgdfvoakuvjdqw5dt5qghk_n8je.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Remember that your site doesn’t have to reach the maximum score, which is 100. Your goal is to try to receive a nice score without sacrificing UX.&lt;/p&gt;

&lt;p&gt;Also, understand that you shouldn’t remove any scripts that are crucial for quality UX only to get a bit higher score on PageSpeed Insights.&lt;/p&gt;

&lt;p&gt;&lt;i&gt;The rules on which Google evaluates your site are only directions to consider for improving your website. In the end: use your own judgment!&lt;/i&gt;&lt;/p&gt;

&lt;h2&gt;Solving the “Eliminate render-blocking JavaScript and CSS in above-the-fold content” Error&lt;/h2&gt;

&lt;p&gt;It is really easy to diminish render-blocking JavaScript and CSS resources on WordPress websites. There are my three plugin recommendations that would help you fix the error:&lt;/p&gt;

&lt;h3&gt;W3 Total Cache&lt;/h3&gt;

&lt;p&gt;One of my favorite plugins: &lt;a href="https://wordpress.org/plugins/w3-total-cache/"&gt;W3 Total Cache&lt;/a&gt;. After you’ve finished installing and activating it follow these actions on your WordPress admin dashboard:&lt;/p&gt;

&lt;ol&gt;
    &lt;li&gt;
&lt;b&gt;Performance &lt;/b&gt;-&amp;gt; &lt;b&gt;General &lt;/b&gt;Settings.&lt;/li&gt;
    &lt;li&gt;Look for the Minify heading and you’ll see some choices below the heading.&lt;/li&gt;
    &lt;li&gt;Check the “&lt;b&gt;Enable&lt;/b&gt;” box for &lt;b&gt;Minify&lt;/b&gt;. After that choose “&lt;b&gt;Manual&lt;/b&gt;” for the &lt;b&gt;Minify mode&lt;/b&gt;.&lt;/li&gt;
    &lt;li&gt;Click the “&lt;b&gt;Save all settings&lt;/b&gt;” button.  
&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--KMEFseDs--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://habrastorage.org/webt/_m/_w/xz/_m_wxznesjdwjfy9ew11lcl3l4w.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--KMEFseDs--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://habrastorage.org/webt/_m/_w/xz/_m_wxznesjdwjfy9ew11lcl3l4w.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;/li&gt;
    &lt;li&gt;Retrieve all render-blocking JavaScript and CSS scripts. Google PageSpeed Insights will assist you in finding them.&lt;/li&gt;
    &lt;li&gt;After finding the rogue script, find your way back to &lt;b&gt;Performance &lt;/b&gt;-&amp;gt; &lt;b&gt;Minify&lt;/b&gt;.&lt;/li&gt;
    &lt;li&gt;Locate the &lt;b&gt;JS&lt;/b&gt; intersects. Select the embed type&lt;b&gt; Non-blocking using “defer”&lt;/b&gt; for the &lt;b&gt;Before &amp;lt;head&amp;gt;&lt;/b&gt; tag in the &lt;b&gt;Operations in areas&lt;/b&gt; section.&lt;/li&gt;
    &lt;li&gt;Select your website’s active theme and push the “&lt;b&gt;Add Script&lt;/b&gt;” button in the &lt;b&gt;JS file management&lt;/b&gt; section. Copy the JavaScript URLs from the PageSpeed Insights and paste it on the provided fields.

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--aIVDY14T--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://habrastorage.org/webt/da/_y/bx/da_ybxfztox4_kqay1bm9sjtypk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--aIVDY14T--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://habrastorage.org/webt/da/_y/bx/da_ybxfztox4_kqay1bm9sjtypk.png"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;Down below you’ll find the &lt;b&gt;CSS&lt;/b&gt; segment. Now find the “&lt;b&gt;CSS file management&lt;/b&gt;” part. Select your website's current theme and hit &lt;b&gt;Add a style sheet&lt;/b&gt;. Like in the previous step, copy and paste the CSS stylesheets URLs from the Google PageSpeed Insights to the required fields.

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Zjm2W813--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://habrastorage.org/webt/u2/zf/ql/u2zfql9ti71omppcguq81ltrygc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Zjm2W813--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://habrastorage.org/webt/u2/zf/ql/u2zfql9ti71omppcguq81ltrygc.png"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;Lastly, hit the “&lt;b&gt;Save Settings &amp;amp; Purge Caches&lt;/b&gt;”.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;Autoptimize&lt;/h3&gt;

&lt;p&gt;Another option would be using the plugin called &lt;a href="https://wordpress.org/plugins/autoptimize/"&gt;Autoptimize&lt;/a&gt; might also help in solving the render-blocking JavaScript and CSS error. Implement these actions on your dashboard after installing and activating the plugin:&lt;/p&gt;

&lt;ol&gt;
    &lt;li&gt;Visit &lt;b&gt;Settings&lt;/b&gt; -&amp;gt; &lt;b&gt;Autoptimize&lt;/b&gt;.&lt;/li&gt;
    &lt;li&gt;In the &lt;b&gt;JavaScript&lt;/b&gt; and &lt;b&gt;CSS Options&lt;/b&gt; sections individually tick the “&lt;b&gt;Optimize JavaScript Code?&lt;/b&gt;” and “&lt;b&gt;Optimize CSS Code?&lt;/b&gt;”.&lt;/li&gt;
    &lt;li&gt;Hit “&lt;b&gt;Save Changes and Empty Cache&lt;/b&gt;”.

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--2FgWuaqe--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://habrastorage.org/webt/eg/ay/fk/egayfkxsynqs88f04qpm2kwdrt8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--2FgWuaqe--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://habrastorage.org/webt/eg/ay/fk/egayfkxsynqs88f04qpm2kwdrt8.png"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;To guarantee that the matter has been fixed, check your website on Google PageSpeed Insights once more. If the warning doesn’t appear, that’s great - you can move on! Otherwise, let’s try adding some additional optimizations:&lt;/p&gt;

&lt;ol&gt;
    &lt;li&gt;Navigate to &lt;b&gt;Settings&lt;/b&gt; -&amp;gt; &lt;b&gt;Autoptimize&lt;/b&gt;.&lt;/li&gt;
    &lt;li&gt;Click the “&lt;b&gt;Show Advanced Settings&lt;/b&gt;”.&lt;/li&gt;
    &lt;li&gt;Once there, find and tick both the “&lt;b&gt;Also aggregate inline JS&lt;/b&gt;” and “&lt;b&gt;Also aggregate inline CSS&lt;/b&gt;” selections.

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--bokdCtO9--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://habrastorage.org/webt/z3/sl/kq/z3slkqumcnmtsztkb6_1dofjlsw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--bokdCtO9--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://habrastorage.org/webt/z3/sl/kq/z3slkqumcnmtsztkb6_1dofjlsw.png"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
    &lt;li&gt;Save your adjustments.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;Speed Booster Pack&lt;/h3&gt;

&lt;p&gt;Last but not least - &lt;a href="https://wordpress.org/plugins/speed-booster-pack/"&gt;Speed Booster Pack&lt;/a&gt;. This plugin also may be effective in getting rid of render-blocking JavaScript and CSS error on your website. In order to do this with the mentioned plugin, you should follow these actions:&lt;/p&gt;

&lt;ol&gt;
    &lt;li&gt;Navigate to the &lt;b&gt;Speed Booster Pack&lt;/b&gt; segment and enter the &lt;b&gt;Advanced&lt;/b&gt; tab.&lt;/li&gt;
    &lt;li&gt;Find the &lt;b&gt;JavaScript Optimization&lt;/b&gt; menu, activate &lt;b&gt;Move scripts to the footer&lt;/b&gt; and &lt;b&gt;Defer parsing of Javascript files&lt;/b&gt;.&lt;/li&gt;
    &lt;li&gt;Find the &lt;b&gt;CSS Optimization&lt;/b&gt; menu down below and enable the &lt;b&gt;CSS render-blocking optimization&lt;/b&gt;.&lt;/li&gt;
    &lt;li&gt;You will also see the extra options like &lt;i&gt;Inline all CSS, Minify all (previously) inlined CSS, Move all inlined CSS&lt;/i&gt; into the footer. You can do some tests with these settings to reach appropriate results.
&lt;p&gt;&lt;i&gt;By activating all of these settings, you will make your website load faster, although it could present an instance called &lt;b&gt;FOUC &lt;/b&gt;(&lt;a href="https://en.wikipedia.org/wiki/Flash_of_unstyled_content"&gt;&lt;b&gt;F&lt;/b&gt;lash &lt;b&gt;O&lt;/b&gt;f &lt;b&gt;U&lt;/b&gt;nstyled &lt;b&gt;C&lt;/b&gt;ontent&lt;/a&gt;). To explain it shortly - it’s an occurrence when a website appears briefly with the browser’s default styles prior to loading an external CSS stylesheet due to the web browser engine rendering the page before all information is retrieved.&lt;/i&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Once you’ve tried the mentioned methods, try to run your website through Google PageSpeed Insights again to make sure that the render-blocking problem is solved.&lt;/p&gt;

&lt;h2&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Since search engines consider websites’ loading times when ranking results, it is one of the major elements in captivating and keeping visitors.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://developers.google.com/speed/pagespeed/insights/"&gt;Google’s PageSpeed Insights&lt;/a&gt; gives the website a rating based on its loading speed. In a case where you’re testing your WordPress website and receiving the notorious “Eliminate render-blocking JavaScript and CSS in above-the-fold content” warning, you can efficiently resolve the problem with mentioned plugins!&lt;/p&gt;

</description>
      <category>wordpress</category>
      <category>html</category>
      <category>css</category>
      <category>javascript</category>
    </item>
    <item>
      <title>Progressive JPEG images: What Is It and How It Can Improve Website Performance</title>
      <dc:creator>Darius Grigorjevas</dc:creator>
      <pubDate>Wed, 15 Jan 2020 18:28:58 +0000</pubDate>
      <link>https://dev.to/darius_grig/progressive-jpeg-images-what-is-it-and-how-it-can-improve-website-performance-5693</link>
      <guid>https://dev.to/darius_grig/progressive-jpeg-images-what-is-it-and-how-it-can-improve-website-performance-5693</guid>
      <description>&lt;p&gt;A progressive JPEG image is encoded differently than a standard or baseline JPEG image. It loads in successive waves until a clear picture is formed. This can improve a website’s performance as the images seems to be loading faster.&lt;/p&gt;

&lt;h2&gt;The Difference Between Baseline JPEG and Progressive JPEG&lt;/h2&gt;

&lt;p&gt;Baseline JPEG and progressive JPEG differs in the way it compresses and displays images — especially if you have a slow internet connection&lt;br&gt;
The standard JPEG format loads images one line at a time, from top to bottom, and each line is already pixel perfect. Hence, it can take a while for the picture to load fully.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Friculr7s7o1rqtg46ec7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Friculr7s7o1rqtg46ec7.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;As for progressive JPEG, the image appears all at once as a whole, but it’ll be blurry and pixelated a first. Gradually, you will see a clear and fully loaded image.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2F7z7wqbqob6bvvok5wn8o.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2F7z7wqbqob6bvvok5wn8o.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;Benefits of Progressive JPEG&lt;/h2&gt;

&lt;p&gt;On a website, progressive JPEG can improve user experience. Although blurry, visitors can already see the entire image at first sight. Plus, generally being smaller in size, progressive JPEG can also reduce resource usages like bandwidth and disk space — helping your website to load faster.&lt;br&gt;
Most popular browsers, like Firefox and Chrome, also support progressive images. But if you use an older version of Internet Explorer (before Windows 7), make sure to install the latest update to enable the feature.&lt;/p&gt;

&lt;h2&gt;How to Use Progressive JPEG Images?&lt;/h2&gt;

&lt;p&gt;Here are the steps to optimize your website with progressive JPEG images:&lt;/p&gt;

&lt;h3&gt;Step 1: Analyze JPEG Images&lt;/h3&gt;

&lt;p&gt;To check what type of JPEG images your website displays, you can do a simple analysis with &lt;a href="https://webpagetest.org/" rel="noopener noreferrer"&gt;WebPageTest:&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
    &lt;li&gt;&lt;p&gt;Paste your site’s URL to the &lt;b&gt;Enter a Website URL&lt;/b&gt; box and press &lt;b&gt;Start Test&lt;/b&gt;.&lt;/p&gt;&lt;/li&gt;

&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fc556256z3g7j5il8nv0n.jpg"&gt;

    &lt;li&gt;&lt;p&gt;Once the test runs are complete, go to the &lt;b&gt;Test Results&lt;/b&gt; page, then select the &lt;b&gt;Performance Review&lt;/b&gt; tab. Scroll down until you find &lt;b&gt;Use Progressive JPEGs.&lt;/b&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The results will show “FAILED” for Baseline JPEG images, as shown below:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fa0ascd61fnkbhw0bb702.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fa0ascd61fnkbhw0bb702.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You will then have to convert them to progressive JPEGs.&lt;/p&gt;

&lt;h3&gt;Step 2: Convert Images to Progressive JPEG&lt;/h3&gt;

&lt;p&gt;There are free software and tools that can do the job. My recommendations are:&lt;/p&gt;

&lt;ol&gt;
    &lt;li&gt;&lt;p&gt;&lt;b&gt;&lt;a href="http://optimizilla.com/" rel="noopener noreferrer"&gt;Optimizilla&lt;/a&gt;&lt;/b&gt;
    &lt;br&gt;
    &lt;br&gt;
Other than converting baseline JPEG images to progressive ones, you can also reduce the image size with this tool. It uses the &lt;a href="https://www.hostinger.com/tutorials/lossy-vs-lossless" rel="noopener noreferrer"&gt;lossy compression&lt;/a&gt; technique. Simply go to Optimizila and upload your image — up to 20 images in one session. You can then set the image quality before downloading, but make sure to keep it at 85 or above for better quality.&lt;/p&gt;&lt;/li&gt;

&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fe0loqouitu17z3a5dgmt.jpg"&gt;
    
    
&lt;p&gt;Once processed, your image will be both progressive and smaller in size.&lt;/p&gt;

    &lt;li&gt;
&lt;p&gt;&lt;b&gt;&lt;a href="https://riot-optimizer.com/" rel="noopener noreferrer"&gt;RIOT&lt;/a&gt;&lt;/b&gt;
    &lt;br&gt;
    &lt;br&gt;
RIOT is free software that has a lot of features when it comes to image optimization. From creating progressive images, adjusting colors, and adding metadata information, everything can be done through its simple interface. You can also convert your image into three different formats — JPEG, GIF, and PNG. What’s more, you can see the changes directly, side by side. However, keep in mind that this tool is only available for Windows.&lt;/p&gt;

&lt;/li&gt;
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fx5m9cibswi5cxzglffur.jpg"&gt;
&lt;/ol&gt;

&lt;h3&gt;Step 3: Replace Old Images&lt;/h3&gt;

&lt;p&gt;After converting, you’ll need to update the images within your site. You can access your hosting’s &lt;a href="https://www.hostinger.com/tutorials/cpanel/how-to-use-cpanels-file-manager" rel="noopener noreferrer"&gt;File Manager&lt;/a&gt; or use an &lt;a href="https://www.hostinger.com/tutorials/ftp/filezilla-ftp-configuration" rel="noopener noreferrer"&gt;FTP&lt;/a&gt; client to locate the existing baseline images. Remove and replace them with the progressive JPEG images.&lt;br&gt;
To avoid technical issues, make sure to use the same file name for every image. Now, test your website again using &lt;a href="https://webpagetest.org/" rel="noopener noreferrer"&gt;WebPageTest&lt;/a&gt;. If you do the process correctly, you won’t find any baseline JPEG images in the performance result.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Ffnzu8lxfmtnatjasd4p9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Ffnzu8lxfmtnatjasd4p9.png"&gt;&lt;/a&gt;&lt;/p&gt;


&lt;h2&gt;Conclusion&lt;h2&gt;

&lt;/h2&gt;
&lt;/h2&gt;
&lt;p&gt;If you want the images on your website to load faster, it’s better to change them into progressive JPEG format. It works by loading images in successive waves. You’ll see a blurry or pixelated picture at first, but it’ll clear out.&lt;br&gt;
To see if your website contains baseline JPEG images, you can use the &lt;a href="https://webpagetest.org/" rel="noopener noreferrer"&gt;WebPageTest&lt;/a&gt; tool. If it does, you can convert them to the progressive format using either &lt;a href="http://optimizilla.com/" rel="noopener noreferrer"&gt;Optimizilla&lt;/a&gt; or &lt;a href="https://riot-optimizer.com/" rel="noopener noreferrer"&gt;RIOT&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>performance</category>
      <category>uiweekly</category>
      <category>ux</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
