• Resolved bananaman4u

    (@bananaman4u)


    So I’ve been using BPS for quite some time now and didn’t notice this, but I think it is slowing down the server’s response time/page loading by a significant amount–something like 3 seconds or so.; Is that normal with a regular length htacess + w3tc code ? This all comes up after testing my site at pingdom and discovering that it takes about 79ms for DNS to resolve, 3.5 seconds of “wait” time, then 1.2 seconds for my site to fully load all resources, images etc.

    Since the htaccess loads before anything else, my guess was that the 3.5 seconds were being used to load the htaccess file. When I disabled it/replaced it with the default, the wait time was reduced significantly (by about 2-2.5 seconds).

    My server is a managed vps with only 6 rarely visited sites, 3GB of RAM and 6 cores on an SSD HD, so now the only bottleneck is literally the htaccess. Do you have any recommendations?

    https://wordpress.org/plugins/bulletproof-security/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author AITpro

    (@aitpro)

    Nope, the standard BPS .htaccess code does not cause any page load or website slowness. If you use the Speed Boost Cache .htaccess code your site would load significantly faster.

    Since you are using W3TC make sure that W3TC is setup correctly first and then setup BPS and add W3TC .htaccess code to BPS Custom Code. Also if you are using any Bonus Custom Code or other personal/custom .htaccess code then save a copy of that code, but remove it all from BPS Custom Code text boxes for testing. What you want to do is isolate exactly which additional code is causing the problem.

    Plugin Author AITpro

    (@aitpro)

    Any luck with isolating the source of the issue/problem?

    Thread Starter bananaman4u

    (@bananaman4u)

    not yet. I’m trying to do it in a systematic way, but I can’t seem to see a difference in the different code snippets and load up time. Maybe I’m doing something wrong to start with. I’ll keep trying.

    Plugin Author AITpro

    (@aitpro)

    One very important thing is this. If W3TC code is in your wp-config.php file and W3TC is not activated then this will cause major slowness.

    Here is what I would do if it was me.
    Save any W3TC settings or make a note of all your W3TC settings.
    Delete W3TC and make sure there is not any W3TC code in your wp-config.php file.
    Activate BPS and go to Custom Code and save any custom code in any of the Custom Code text boxes and then delete all/any custom code.
    Click the Save Root Custom Code button.
    Go to the Security Modes page, click the Create secure.htaccess File AutoMagic button and activate Root folder BulletProof Mode.
    So at this point W3TC is out of the equation and you should only be using standard/default BPS .htaccess code/files.
    If the problem is with standard/default BPS code then you will see slowness at this point.
    Let me know what happens after doing all of these steps above.

    Plugin Author AITpro

    (@aitpro)

    Any luck?

    Thread Starter bananaman4u

    (@bananaman4u)

    Yep. Figured it out kinda. So BPS seems to have nothing to do with it. I think it was a corrupt installation of W3TC, or the htaccess code that I’m supposed to insert isnt correct. All I did was clear the cache, disabled w3tc, uninstalled w3tc, then removed w3tc’s code and plugin, and installed wp supercache/inserted its code. That initial latency was gone. I don’t know precisely why, but there is some problems between w3tc and BPS, and i think it’s on their side.

    Thanks AITPro. Great support as always!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Slowing Down Server Response Time’ is closed to new replies.