Site too slow - out of desperation please help

ok . .hi to all . . and i was soo happy not be here . . haha - cause that meant all was good from my end . .with my happy x theme . . but im back…and i hope someone can shed some light - cause i contacted the server people - and they cant help.

So my site - www.naicrazy.com - was all good and dandy - yesterday . . and i updated to php7.2 ( as per woocommerce needs ) - and all seemed fine.

i had about 50 new products to update . . and while i was uploading i got a timeed out . .message . . and then i got back into wp-admin . . and saw the new products there . .but the site … when i went to test was now taking 9 seconds to load . . ( its like on slow motion ) … and i just updated my latest sliders a few days before . . and tested them - i know the site was good. ( and on gt matrix with w3 total cash it was loading in 5.4 seconds )… so i had no issues… however now its loading in 9 seconds - and everything is all slow and sticky …

so i deleted the products i uploaded… and i went into plugins - and de activated all the plugins i could - which were woo commerce . . slider rev . . .w3 total cashe . . . google analyt … . etc… ( i left uber menu ) and some other . …

( and the last time i did that for another issue … i could see the site acutally got faster.

i dont know if this has to do with java or css or ajax . . and im stuck.

the server people told me to remove w3 total cash…
he told me the site was not minimying and they enabled gzip
they told me to install heartbeat and wp super cashe . .

and so i did - but nothing is different - so no fix.

I kindly ask you to have a look . . and i hope u have a solution ::}}
warmest regards - desparate andrew

update - so - im checking what i know . . and could it be the htacess is corrupted or such . . .cause my score i s low cause of leverage cashe browsing - and i used to have something like this-
but its not there an y more…

TN - START EXPIRES CACHING

ExpiresActive On
ExpiresByType text/css “access 1 month”
ExpiresByType text/html “access 1 month”
ExpiresByType image/gif “access 1 year”
ExpiresByType image/png “access 1 year”
ExpiresByType image/jpg “access 1 year”
ExpiresByType image/jpeg “access 1 year”
ExpiresByType image/x-icon “access 1 year”
ExpiresByType application/pdf “access 1 month”
ExpiresByType application/javascript “access 1 month”
ExpiresByType text/x-javascript “access 1 month”
ExpiresByType application/x-shockwave-flash “access 1 month”
ExpiresDefault “access 1 month”

TN - END EXPIRES CACHING

Hello There,

Thanks for writing in!

Please check again your .htaccess. Maybe W3 Total Cache has change the contents of the file. And by the way, please combine the minified JS/CSS files. All the files in the theme and in Cornerstone were already minified. You just have to combined them to minimize the files to load.

I have check your site in tools.pingdom.com. The load time is 7.995s because of the 172 request for 5.7MB page size.

Please let us know how it goes.

Hey RueNel… thanks for writing in - your support is very much appreciated. . . . so i did have w3 total - before - and i had set and done - what i could and i know the page was loading in 5.4 seconds ( which i was happy with ) - but now my server people told me to remove it - and put heartbeat control- and Wp super cashe. ( so this is what is runing now ) - To the best of my knowledge with x theme - i think you guys recommend to use w3 total . . so i was not happy about the change ( just to let you know ) -

So - trust me when i tell you - nothing would make me happier than to be able to set up the optimization as best possible - so i would appreciate your expertise to get a fastest load . . eg . .u mention the page size is 5.7mb . . is that too big ??? what should it be - cause it could lower the size but - i have to change things in the page itself no ??? - i dont know what the optimal page size should be.

so re levarage cashe browsing … ( i understna that the htaccess has a lot to do with that. ) … .
so on my server - i find 2 of these files not 1. ( i dont know if thats normal ) or if they have to be the same to work better ) . .
from what i read its best to do this without any plugin help . .

so - pleases advise weather i should remove the plugins i mentioned - and go back to w3 or not.

in my root directory - this is the htaccess . .

Use PHP72 as default

AddHandler application/x-httpd-php72 .php

SetOutputFilter DEFLATE

# Netscape 4.x has some problems…
BrowserMatch ^Mozilla/4 gzip-only-text/html

    # Netscape 4.06-4.08 have some more problems
    BrowserMatch ^Mozilla/4\.0[678] no-gzip

    # MSIE masquerades as Netscape, but it is fine
    # BrowserMatch \bMSIE !no-gzip !gzip-only-text/html

    # NOTE: Due to a bug in mod_setenvif up to Apache 2.0.48
    # the above regex won't work. You can use the following
    # workaround to get the desired effect:
    BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html

    # Don't compress images
    SetEnvIfNoCase Request_URI .(?:gif|jpe?g|png)$ no-gzip dont-vary
</IfModule>

<IfModule mod_headers.c>
    # Make sure proxies don't deliver the wrong content
    Header append Vary User-Agent env=!dont-vary
</IfModule>

now in my public html folder i also find this file and this is the content.

BEGIN WordPress

RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L]

END WordPress

from what i read on the net
i should have script to ‘add expries’ . . and its like this

TN - START EXPIRES CACHING

ExpiresActive On
ExpiresByType text/css “access 1 month”
ExpiresByType text/html “access 1 month”
ExpiresByType image/gif “access 1 year”
ExpiresByType image/png “access 1 year”
ExpiresByType image/jpg “access 1 year”
ExpiresByType image/jpeg “access 1 year”
ExpiresByType image/x-icon “access 1 year”
ExpiresByType application/pdf “access 1 month”
ExpiresByType application/javascript “access 1 month”
ExpiresByType text/x-javascript “access 1 month”
ExpiresByType application/x-shockwave-flash “access 1 month”
ExpiresDefault “access 1 month”

TN - END EXPIRES CACHING #themeco

and this to add cashe control . .

TN - BEGIN Cache-Control Headers

Header set Cache-Control "public" Header set Cache-Control "public" Header set Cache-Control "private" Header set Cache-Control "private, must-revalidate" # TN - END Cache-Control Headers

and this to turn the Etags off ( whatever they are . .) - i sound like an expert.

TN - BEGIN Turn ETags Off

FileETag None

TN - END Turn ETags Off

so can you please guide me better to get this resolved once an for all?
can you please confirm how i should make my file… ( and for which directory ) - and if the file should be the same or not?

i know i sound stupid - but . . i also know i tapered with htaccess myself - from what i read - and the whole site stopped working . .

i await you reply - no hurry - of the best more optima htaccess file - should put and where:}}

once we sort out Leverage cashe browing - then we can disucss your advice on minifciation and all the rest. - im sure others like me will find this beneficial and hope to help others in the process. -

thanks andrew :}}

Hi @nailcrazy,

We don’t really provide support for optimization, but we just do recommend W3 total cache. I also recommend contacting a person or developer that is familiar with optimization. And with W3 total cache or Super cache, it should function the same. BUT, maybe when you switched to WP Super Cache, the working configuration and setup became non-functional and I’m not really sure which as htaccess doesn’t contain all of that details. Perhaps your server people are familiar with the optimization since they requested the WP Super Cache? I recommend contacting them which is the best setting since it’s the plugin they recommend to run in their server. Else, you should restore your site to when it’s still working and loading just fine just to make sure the configurations are still intact.

Yes, 5mb is a bit big, and with 172 requests means minification is turned off.

Thanks!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.