• dennisroliff

    (@dennisroliff)


    Hello all,

    I am submitting a post that I believe didn’t post because I was logged out. I’ve been having trouble with my wordpress business website loading extremely slowly ( 4 plus seconds… completely unacceptable ). I am running PHP v 8.3 and Brand Exponents ‘Oshine’ theme in a child theme folder.

    When I run Site Health I am getting a performance alert that I don’t understand. I couldn’t figure out how to add an image to this post so go here to see a screenshot of this alert. Any help in explaining it would be appreciated.

    Thanks.

    Dennis

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Dennis, I can see in the headers, you are actually running PHP 7.4, not 8.3 So you may want to double check that.
    Cache-Control and Pragma: Both are set to no-cache. This indicates that the client (the browser making the request) is instructing servers along the request chain not to use a stored cache version and to fetch a fresh copy. This is a strong indicator that the page is not being served from cache.

    I would recommend you install a WordPress caching plugin like W3 Total Cache or WP Rocket (Paid). Or contact your hosting support and ask them to assist as to why the server is not caching properly.

    Best of luck!

    Tom

    Thread Starter dennisroliff

    (@dennisroliff)

    Hi @tfanelli ,

    Thanks for your generous and expert feedback. After going to my CPanel under ‘Softwares’ I realized I was using the wrong Software (PHP Selector) to change the PHP version of my domain ( see image ). I took the advice of the ‘information popup’ and utilized ‘MultiPHP Manager’ to update the PHP version on my domain to 8.3.

    I was indeed running W3 Cache plugin but it must not have been configured correctly. I reverted to LiteSpeed Cache (which is also configurable – I’ll have to look into that to see what I can tweak for better persormance) and seem to be getting faster initial load speeds ( less than a second ).

    Also, here is what my current .htaccess file looks like

    #<IfModule mod_headers.c>
    #    Header set Access-Control-Allow-Origin "*"
    #</IfModule>
    # Removed the prior lines per MDD Hosting ticket 746681
    
    
    RewriteCond %{HTTPS} off
    RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
    RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/.+$
    RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
    RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    <IfModule LiteSpeed>
    CacheLookup public on
    </IfModule>
    
    # BEGIN WordPress
    # The directives (lines) between "BEGIN WordPress" and "END WordPress" are
    # dynamically generated, and should only be modified via WordPress filters.
    # Any changes to the directives between these markers will be overwritten.
    
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress
    
    # php -- BEGIN cPanel-generated handler, do not edit
    # Set the “alt-php83” package as the default “PHP” programming language.
    
    <IfModule mime_module>
      AddHandler application/x-httpd-alt-php83 .php .php8 .phtml
    </IfModule>
    
    # php -- END cPanel-generated handler, do not edit

    As you can see, I removed 3 lines as suggested by my web hosting company tech support. There is a block of LiteSpeed code, a block of WordPress code and a block of code for the PHP version. If you see anything that might be amiss, let me know if you can. Thanks.

    Dennis

    here is an illustrative composite jpeg I put together:

    or to see an enlargeable version of this jpeg go here

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘website loading extremely slowly’ is closed to new replies.