https 301 redirect – website speed issue

Home Forums Legacy Support Support queries Other issues https 301 redirect – website speed issue

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #52488
    YarosIK
    Spectator
    Hello, i would like to run my site in https, for this i am using the following in my .htaccess file: <pre class="code-sample-blue">RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]   The "time to first byte" of my hosting provider is very slow and the redirect eats additional 2-3 seconds on the loading time of my page, see capture 1. Is there is a way to fix this problem ? a more efficient redirect, or how to force a direct https without redirect? I would really like to reduce my page loading time Also when in WP admin pannel, when i go into "settings - general" i managed to put a https://classpro.be in Site Adress URL, but i can not force the https on the WordPress Adress URL, see capture 2, is this an issue ?
    #52664
    Anshuman Sahu
    Keymaster
    You can force enable https in your site . please refer this link : http://www.wpbeginner.com/wp-tutorials/how-to-add-ssl-and-https-in-wordpress/ For site speed please note that this is dependent on the server resources and the also on number of plugins and their code taking how much time to execute their scripts . One solution would be to check the plugins that are taking much time in your site . Can you please list the plugins that you are using ?
    #53535
    YarosIK
    Spectator
    Hello sorry for my late reply, I actually struggled a lot with the speed problem of my site, i then tried switching host (form godaddy to WP Engine) and oh my god what a change ! you can see webpagetest.org results in Capture1 when at GoDaddy and Capture 2 when at WP Engine. My time to first byte when down from 8 seconds to 0.2 seconds !    
    #53538
    YarosIK
    Spectator
    I have a question still. <!-- [if gte mso 9]><xml> <o:OfficeDocumentSettings> <o:AllowPNG/> </o:OfficeDocumentSettings> </xml><![endif]--> <p class="MsoNormal"><span lang="EN-US"><span style="mso-spacerun: yes;"> </span>I know that WP Engine heavily optimize their servers in terms of caching (they have homemade caching algorithms) they also propose a service for CDN</span></p> <p class="MsoNormal"><span lang="EN-US">I know that caching is not advice for WPLMS as it is very dynamic. My question is, does WPLMS works fine with WP Engine? Or have you heard of some trouble happening with WPLMS due to their heavy use of caching ? or are their server homemade caching is so smart it also works with dynamic content without any problem ?</span></p> <p class="MsoNormal">thanks</p> <p class="MsoNormal">Yaros</p>
    #53539
    YarosIK
    Spectator
    I have a question still I know that WP Engine heavily optimize their servers in terms of caching (they have homemade caching algorithms) they also propose a service for CDN. I know that caching is not advice for WPLMS as it is very dynamic. My question is, does WPLMS works fine with WP Engine? Or have you heard of some trouble happening with WPLMS due to their heavy use of caching ? or are their server homemade caching is so smart it also works with dynamic content without any problem ? Thanks Yaros
    #53629
    Anshuman Sahu
    Keymaster
    We usually recommends php opcache and memcache for database which wp-engine already have . So you do not need to worry about the caching on wp-engine . All you have to do is to apply this tip for the login widget : https://wplms.io/support/knowledge-base/fixing-login-widget-on-wplms-sites-hosted-on-wpengine-com/
    #58211
    YarosIK
    Spectator
    ok thanks very much, for me topic can be closed if you want Yaros
Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘https 301 redirect – website speed issue’ is closed to new replies.