<?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: Tomoya Kuroda</title>
    <description>The latest articles on DEV Community by Tomoya Kuroda (@tomoyanime).</description>
    <link>https://dev.to/tomoyanime</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%2F539385%2F289d8c9a-6716-492a-8100-644a6606b928.jpeg</url>
      <title>DEV Community: Tomoya Kuroda</title>
      <link>https://dev.to/tomoyanime</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/tomoyanime"/>
    <language>en</language>
    <item>
      <title>Should we use CDN to load JavaScript plugins?</title>
      <dc:creator>Tomoya Kuroda</dc:creator>
      <pubDate>Sat, 12 Mar 2022 03:18:43 +0000</pubDate>
      <link>https://dev.to/tomoyanime/should-we-use-cdn-to-load-javascript-plugins-2jlm</link>
      <guid>https://dev.to/tomoyanime/should-we-use-cdn-to-load-javascript-plugins-2jlm</guid>
      <description>&lt;p&gt;Yes! It's much faster than getting the files from your server.&lt;/p&gt;

&lt;p&gt;To enhance loading speed, I learned that reducing the amount of HTTP requests is preferable. So, I grabbed a number of JavaScript plugins, including Bootstrap and GSAP, and integrated them into a single huge file. However, loading the JavaScript file on a live server took roughly 10 seconds 😥.&lt;/p&gt;

&lt;p&gt;I examined the Network tab, and caching does not appear to be working. So I changed my strategy and started using CDN for JavaScript plugins, and the page loaded in only a few seconds.&lt;/p&gt;

&lt;p&gt;Although the performance will vary depending on your server's specifications and settings, I advocate using CDN to load JavaScript plugins because they are automatically cached and will not be downloaded again when users reload the same page or visit other pages.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>beginners</category>
      <category>html</category>
    </item>
  </channel>
</rss>
