{"id":1219,"date":"2023-10-05T19:41:45","date_gmt":"2023-10-05T14:11:45","guid":{"rendered":"https:\/\/www.veeble.org\/kb\/?p=1219"},"modified":"2025-03-14T11:56:58","modified_gmt":"2025-03-14T06:26:58","slug":"resolving-slow-page-load-issues-in-cpanel","status":"publish","type":"post","link":"https:\/\/www.veeble.com\/kb\/resolving-slow-page-load-issues-in-cpanel\/","title":{"rendered":"How to Fix Slow Page Load Issues in cPanel"},"content":{"rendered":"\n<p>Slow-loading websites can be a frustrating experience for both site owners and visitors. As someone who has personally managed websites using cPanel, I can share some firsthand experiences and tips on improving website performance. Here&#8217;s a step-by-step guide based on my own experiences which made by website lightning fast.<\/p>\n\n\n<h4 class=\"wp-block-heading\" id=\"1-find-the-cause\">1. Find the Cause<\/h4>\n\n\n<p><strong>Check Your Hosting Plan<\/strong>: <br>Ensure your hosting package has enough resources (CPU, RAM, bandwidth) for your site&#8217;s traffic.<br>You can check it via the <a href=\"https:\/\/docs.cpanel.net\/whm\/server-configuration\/statistics-software-configuration\/\" target=\"_blank\" rel=\"noreferrer noopener\">statistics section<\/a> in your cPanel. If your resource usage and your hosting plan are allotted, upgrade your package to a higher plan.<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.veeble.org\/kb\/wp-content\/uploads\/2023\/10\/statistics.gif\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"1620\" height=\"886\" data-id=\"1221\" src=\"https:\/\/www.veeble.org\/kb\/wp-content\/uploads\/2023\/10\/statistics.gif\" alt=\"cPanel Statistics \" class=\"wp-image-1221\"\/><\/a><\/figure>\n<\/figure>\n\n\n\n<p><br><strong>Use Page Speed Tools<\/strong>: <br>Tools like Google&#8217;s <a href=\"https:\/\/pagespeed.web.dev\/\" target=\"_blank\" rel=\"noreferrer noopener\">PageSpeed Insights<\/a> or <a href=\"https:\/\/gtmetrix.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">GTmetrix<\/a> can identify performance issues of your website. These tools analyze your website&#8217;s performance and provide valuable insights. They can pinpoint specific issues that are causing your site to load slowly, such as large images or unoptimized scripts. Analyzing its results will give an idea of how the website became slow.<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-2 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.veeble.org\/kb\/wp-content\/uploads\/2023\/10\/httpspagespeed.web_.dev_.gif\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"1754\" height=\"922\" data-id=\"1223\" src=\"https:\/\/www.veeble.org\/kb\/wp-content\/uploads\/2023\/10\/httpspagespeed.web_.dev_.gif\" alt=\"https:\/\/pagespeed.web.dev\/\" class=\"wp-image-1223\"\/><\/a><\/figure>\n<\/figure>\n\n\n<h4 class=\"wp-block-heading\" id=\"2-optimize-your-content\"><br>2. Optimize Your Content<\/h4>\n\n\n<p><strong>Shrink Images<\/strong>:<br>Images are often a common culprit behind slow-loading websites. I recommend compressing your images to reduce file sizes without compromising quality. Webp format images are efficient in terms of file size. There are many online tools that convert your images into Webp format. One of such is <a href=\"https:\/\/convertio.co\/png-webp\/\" target=\"_blank\" rel=\"noreferrer noopener\">Convertio<\/a>. Lastly, always optimize image dimensions to match your website&#8217;s layout, ensuring that your site loads faster and provides a smoother user experience<\/p>\n\n\n\n<p><strong>Trim CSS and JavaScript<\/strong>: <br>Start by removing any redundant or unused code and ensuring that your scripts are minified, which means eliminating unnecessary white spaces and line breaks. You can use online tools such as <a href=\"https:\/\/www.freeformatter.com\/css-minifier.html\" target=\"_blank\" rel=\"noreferrer noopener\">freeformatter.com<\/a> and Javascript-minifier to reduce these file sizes.<\/p>\n\n\n\n<p><strong>Leverage Browser Caching<\/strong>: <br>Enable browser caching to store static assets locally on users&#8217; devices, reducing load times for returning visitors. The below code optimizes browser caching for various file types with different expiration periods, making it unique while helping improve website load times. Visit the <a href=\"https:\/\/docs.oracle.com\/cd\/B14099_19\/web.1012\/q20206\/howto\/htaccess.html\" target=\"_blank\" rel=\"noreferrer noopener\">.htaccess<\/a> file in your cPanel file manager and add the below lines to it.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">#Optimize Browser Caching for Faster Website Load Times\nExpiresActive On\nExpiresDefault \"access plus 1 month\"\n# Cache CSS, JavaScript, and HTML files for 1 week\nExpiresByType text\/css \"access plus 1 week\"\nExpiresByType application\/javascript \"access plus 1 week\"\nExpiresByType text\/html \"access plus 1 week\"\n# Cache image files for 1 month\nExpiresByType image\/jpeg \"access plus 1 month\"\nExpiresByType image\/png \"access plus 1 month\"\nExpiresByType image\/gif \"access plus 1 month\"\nExpiresByType image\/svg+xml \"access plus 1 month\"\n# Cache video and audio files for 1 year\nExpiresByType video\/mp4 \"access plus 1 year\"\nExpiresByType video\/ogg \"access plus 1 year\"\nExpiresByType audio\/ogg \"access plus 1 year\"\n# Cache web fonts for 1 year\nExpiresByType application\/font-woff \"access plus 1 year\"\nExpiresByType application\/font-woff2 \"access plus 1 year\"\nExpiresByType application\/vnd.ms-fontobject \"access plus 1 year\"\nExpiresByType application\/x-font-ttf \"access plus 1 year\"\nExpiresByType font\/opentype \"access plus 1 year\"\n# Cache various other file types\nExpiresByType application\/pdf \"access plus 1 month\"\nExpiresByType application\/x-shockwave-flash \"access plus 1 month\"\nExpiresByType application\/x-web-app-manifest+json \"access plus 1 month\"\nExpiresByType text\/cache-manifest \"access plus 1 month\"\nExpiresByType application\/xml \"access plus 1 week\"\nExpiresByType text\/xml \"access plus 1 week\"\nExpiresByType application\/atom+xml \"access plus 1 week\"\nExpiresByType application\/rss+xml \"access plus 1 week\"\n#End of Browser Caching<\/pre>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-3 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.veeble.org\/kb\/wp-content\/uploads\/2023\/10\/htacess.gif\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"1754\" height=\"922\" data-id=\"1226\" src=\"https:\/\/www.veeble.org\/kb\/wp-content\/uploads\/2023\/10\/htacess.gif\" alt=\".htaccess file\" class=\"wp-image-1226\"\/><\/a><\/figure>\n<\/figure>\n\n\n<h4 class=\"wp-block-heading\" id=\"3-harness-content-delivery-networks-cdns\">3. Harness Content Delivery Networks (CDNs)<\/h4>\n\n\n<p>Link your site with a CDN like <a href=\"https:\/\/www.cloudflare.com\/en-in\/\" target=\"_blank\" rel=\"noreferrer noopener\">Cloudflare<\/a> or <a href=\"https:\/\/docs.aws.amazon.com\/AmazonCloudFront\/latest\/DeveloperGuide\/GettingStarted.html\" target=\"_blank\" rel=\"noreferrer noopener\">Amazon CloudFront<\/a> to distribute content globally. This not only improves website speed but also reduces the load on the hosting server. To set this up, you typically need to update your domain&#8217;s DNS settings to point to the CDN provider&#8217;s servers.<\/p>\n\n\n<h4 class=\"wp-block-heading\" id=\"4-enable-compression-on-the-website\">4. Enable compression on the website<\/h4>\n\n\n<p>Compression significantly reduces the size of data transferred between the server and visitors, resulting in faster load times. Utilize the &#8220;<strong>Optimize Website<\/strong>&#8221; tool in cPanel to enable compression.<\/p>\n\n\n\n<p>In your cPanel dashboard, scroll down or use the search bar to find the &#8220;Optimize Website&#8221; tool, usually located in the &#8220;<strong>Software<\/strong>&#8221; or &#8220;<strong>Advanced<\/strong>&#8221; section.<br>Select &#8220;<strong>Compress All Content<\/strong>&#8220;: In the &#8220;<strong>Optimize Website<\/strong>&#8221; tool, you&#8217;ll typically find three options: &#8220;Disable&#8221; (no compression, default), &#8220;Compress the specified MIME types&#8221; (specific content types compression), and &#8220;Compress All Content&#8221; (enables compression for all content types). Choose &#8220;Compress All Content&#8221; to enable compression for your entire website.<br>Click &#8220;<strong>Update Setting<\/strong>&#8220;: After selecting &#8220;Compress All Content,&#8221; click the &#8220;Update Setting&#8221; button to save your changes.<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-4 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.veeble.org\/kb\/wp-content\/uploads\/2023\/10\/compress.gif\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"1754\" height=\"922\" data-id=\"1230\" src=\"https:\/\/www.veeble.org\/kb\/wp-content\/uploads\/2023\/10\/compress.gif\" alt=\"Optimize website in cPanel\" class=\"wp-image-1230\"\/><\/a><\/figure>\n<\/figure>\n\n\n<h4 class=\"wp-block-heading\" id=\"5-keep-an-eye-on-performance\"><br>5. Keep an Eye on Performance<\/h4>\n\n\n<p>Regularly keeping an eye on your website&#8217;s performance through cPanel can be a game-changer. You can use tools like <a href=\"https:\/\/docs.cpanel.net\/cpanel\/metrics\/awstats\/\" target=\"_blank\" rel=\"noopener\">Awstats<\/a> or <a href=\"https:\/\/docs.cpanel.net\/cpanel\/metrics\/webalizer\/\" target=\"_blank\" rel=\"noopener\">Webalizer<\/a> in the Metrics section of cPanel to maintain your website&#8217;s smooth operation.<\/p>\n\n\n\n<p>To get started, look for the &#8220;<strong>Metrics<\/strong>&#8221; section in cPanel; it&#8217;s usually a goldmine of tools for website statistics and performance.<br>You might come across Awstats or Webalizer, depending on your hosting provider&#8217;s setup. These tools are like your website&#8217;s personal detectives, giving you valuable insights into how it&#8217;s doing.<\/p>\n\n\n\n<p>Once you&#8217;re in Awstats or Webalizer, take a closer look at various metrics and reports. Check out stats like the number of visitors, your website&#8217;s bandwidth usage, page views, any errors, where your traffic is coming from, and the keywords people use to find your site. Keep an eye out for any unusual spikes or odd patterns in these metrics, as they can signal potential performance issues.<\/p>\n\n\n\n<p>Now, based on what you find, it&#8217;s time to take action. You can work on optimizing your website in different ways. This could mean making your images more web-friendly, fixing any errors or broken links, speeding up your page load times, or tailoring your content to cater to sources sending lots of traffic your way.<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-5 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.veeble.org\/kb\/wp-content\/uploads\/2023\/10\/Screenshot-229.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"631\" data-id=\"1232\" src=\"https:\/\/www.veeble.org\/kb\/wp-content\/uploads\/2023\/10\/Screenshot-229-1024x631.png\" alt=\"\" class=\"wp-image-1232\" srcset=\"https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2023\/10\/Screenshot-229-1024x631.png 1024w, https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2023\/10\/Screenshot-229-300x185.png 300w, https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2023\/10\/Screenshot-229-768x473.png 768w, https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2023\/10\/Screenshot-229-60x37.png 60w, https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2023\/10\/Screenshot-229-150x92.png 150w, https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2023\/10\/Screenshot-229.png 1458w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n<\/figure>\n\n\n\n<p><\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><br>Note: Regular maintenance is essential to ensure your website stays at its best. First, staying updated is crucial. Keep your Content Management System (CMS), plugins, and themes up-to-date to maintain optimal performance and enhance security. Second, don&#8217;t forget about your databases. Regular database cleanup is equally important. Periodically remove unnecessary data to keep your databases efficient, helping your website run smoothly and load faster.<\/p>\n<\/blockquote>\n\n\n\n<p>In conclusion, resolving slow page load issues in cPanel is an ongoing process that requires a combination of monitoring, optimization, and regular maintenance. By following these steps and learning from our own experiences, we can ensure that your website remains fast, efficient, and user-friendly.<\/p>\n\n\n\n<div style=\"height:45px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-uagb-call-to-action uagb-block-0bafa7ea wp-block-button\"><div class=\"uagb-cta__wrap\"><h3 class=\"uagb-cta__title\">Powering Your Business with Windows VPS<\/h3><p class=\"uagb-cta__desc\">Choose a robust and reliable platform for your critical applications. Experience the difference a high-performance VPS can make.<\/p><\/div><div class=\"uagb-cta__buttons\"><a href=\"https:\/\/www.veeble.com\/in\/windows-vps\/\" class=\"uagb-cta__button-link-wrapper wp-block-button__link\" target=\"_blank\" rel=\"noopener noreferrer\">View Our Plans<svg xmlns=\"https:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\"><path d=\"M504.3 273.6l-112.1 104c-6.992 6.484-17.18 8.218-25.94 4.406c-8.758-3.812-14.42-12.45-14.42-21.1L351.9 288H32C14.33 288 .0002 273.7 .0002 255.1S14.33 224 32 224h319.9l0-72c0-9.547 5.66-18.19 14.42-22c8.754-3.809 18.95-2.075 25.94 4.41l112.1 104C514.6 247.9 514.6 264.1 504.3 273.6z\"><\/path><\/svg><\/a><\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Slow-loading websites can be a frustrating experience for both site owners and visitors. As someone who has personally managed websites using cPanel, I can [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":8074,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[4],"tags":[],"class_list":["post-1219","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cpanel"],"uagb_featured_image_src":{"full":["https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2023\/10\/How-to-Fix-Slow-Page-Load-Issues-in-cPanel.jpg",1366,768,false],"thumbnail":["https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2023\/10\/How-to-Fix-Slow-Page-Load-Issues-in-cPanel-150x150.jpg",150,150,true],"medium":["https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2023\/10\/How-to-Fix-Slow-Page-Load-Issues-in-cPanel-300x169.jpg",300,169,true],"medium_large":["https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2023\/10\/How-to-Fix-Slow-Page-Load-Issues-in-cPanel-768x432.jpg",768,432,true],"large":["https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2023\/10\/How-to-Fix-Slow-Page-Load-Issues-in-cPanel-1024x576.jpg",1024,576,true],"1536x1536":["https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2023\/10\/How-to-Fix-Slow-Page-Load-Issues-in-cPanel.jpg",1366,768,false],"2048x2048":["https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2023\/10\/How-to-Fix-Slow-Page-Load-Issues-in-cPanel.jpg",1366,768,false]},"uagb_author_info":{"display_name":"Adrian Antony","author_link":"https:\/\/www.veeble.com\/kb\/author\/adrian\/"},"uagb_comment_info":0,"uagb_excerpt":"Slow-loading websites can be a frustrating experience for both site owners and visitors. As someone who has personally managed websites using cPanel, I can [&hellip;]","_links":{"self":[{"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/posts\/1219","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/comments?post=1219"}],"version-history":[{"count":23,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/posts\/1219\/revisions"}],"predecessor-version":[{"id":7873,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/posts\/1219\/revisions\/7873"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/media\/8074"}],"wp:attachment":[{"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/media?parent=1219"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/categories?post=1219"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/tags?post=1219"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}