No search results were found in Documentation!
If you’re having trouble optimizing via plugin, I would likely contact your hosting provider and optimize your dbase from phpmyadmin or similar outside of wordpress (e.g., command line, or from server side).
But yes… on a 190MB dbase, WP-Optimize clears out on average about 27.5MB of crap, depending on when you do an optimization.
I think the pagespeed insights reference to browswer caching is having
1) expires headers from the server (or via htaccess on Apache, or config file on nginx), which specify a time to live, such as “cache fonts for one week, don’t reload them every time a page loads” … that is the purpose of “browser caching” — same with CSS, images like a logo, javascript, etc. — my settings are in the sticky for pagespeed.
2) remember to have gzip/deflate running on server side, you don’t need plugin for that as the server can compress everything on request
I’m not currently using W3 cache, and frankly I’d leave that off until you get everything else sorted as otherwise you end up caching incomplete pages from the other errors or overloads. Once EVERYTHING else is solid, THEN you would turn on the cache as the LAST thing in the chain.
Hope that helped a little (been there!). 🙂
-
This reply was modified 12 years by
simchris.
ok its working now.
i removed all the plugins but the essentials and its working currently with blazing page speed. Now adding them one by one back to see what was conflicting… and i noticed once i added W3 cache that it actually slowed down. is that normal? to be fair as i added gzip plugin it even slowed down more. 🙁
would this be the time to optimize with WP-Optimize? it crashed our database last time and im really shy about using it now.
according to google pagespeed insights, its suggesting we Leverage browser caching
– but according to documentation on theme, u suggested only doing page cache. should i active the browser cache option in W3?
Okay. let me try that. thanks Lucian and Christopher.
do you also suggest wp-optimize plugin as in your other article for page load speed, once this issue is corrected? i tried following your suggestion, but it crashed the database. just got it back up/repaired last night. its possible as Lucian says was caused by the other plugins conflicting. but they all serve a purpose but will see what i can do without. i really want the site to be exciting with additional buddypress features to keep visitors active.
i will update this ticket after removing all the plugins.
thanks again for the quick reply
Hi,
As Christopher said, you have some errors in your console http://screencast.com/t/hIsuEkRuJQ you should try to get rid of those errors first.
Try to deactivate all plugins except those that theme requires and check the issue, see if it’s still present.
If this doesn’t solve the issue you can send us your wp-admin username and password so we can take a look, send via e-mail at contact@tagdiv.com if you will, please include a link to this topic.
Thanks
(9pm PDT/PST 7/15)
You have a lot of elements not loading properly, or only partially loading, when I just looked at your site. Likely a number of CSS, java, etc. is not loading at all due to the site being terribly slow right now, and timing out left and right. Header is a mess in IE7/Win64 on a 75mb FIOS connection, reloading page doesn’t make it better, left sticky social disappears then comes back, some social icons floating off right side in circles, etc. Likely first step is getting pages to fully load at all.
You have a lot of elements not loading properly, or only partially loading, when I just looked at your site. Likely a number of CSS, java, etc. is not loading at all due to the site being terribly slow right now, and timing out left and right. Header is a mess in IE7/Win64 on a 75mb FIOS connection, reloading page doesn’t make it better, left sticky social disappears then comes back, some social icons floating off right side in circles, etc. Likely first step is getting pages to fully load at all.
also
i noticed in documentation this statement:
make sure that you have APC installed or another ‘op cache’ for php. This will reduce your server response time.We have receive some reports that the accelerator has some problems in some specific configurations with our theme and Nginx.
does it mean we should not use Nginx?
– also, i meant that the SWIPE MENU ON MOBILES or the standard menu on responsive (mobile) is not working.
thanks
i read another support ticket that said the solution was to use W3 Total Cache. which we used to use. but because of the site being very sluggish and crashing at times, with W3 showing no noticeable increase in speed at all, we decided to use wordfence plug in. which might i add is very good for detecting the main problem for site slow speed. which is not the theme itself, but DDOS attacks.
we were able to block china where attacks were coming from and speed picked up 100x faster than before. then i decided to use their cache engine, which even made it faster.
however now based on your response to the responsive menu issues, we have removed the caching by wordfence and activated W3 Total Cache. but still there is a problem if the responsive menu showing. please see http://www.naija.fm
also sliding menu not working. just provides link – http://www.naija.fm/#
really need the help please. we are losing tons of traffic due to users only limited to few pages.
Robert
ok… i have removed the caching by wordfence and activated W3 Total Cache. but still there is a problem if the menu showing. please see http://www.naija.fm
really need the help please. we are losing tons of traffic due to users only limited to few pages.
im having the same proplem and W3 Total Cache isnt doing the job so we had to use wordfence which seems to really help with ddos attacks. we have been hit really hard lately. – http://www.naija.fm/
which has effected the page speed to the point of not being able to connect to database.
wordfence: http://www.wordfence.com/ also has its own cache system that seems to really help.
so is there a way to make to make the responsive menu work with this plugin http://www.wordfence.com/
@manual
best bet for my stuff, is go “backwards” from here as the stuff for htaccess file still good, for Apache/Linux. I’m only running nginx for some stuff on our server, we use Apache for compatibility with 20 years of content and some stuff not practical to reinvent at this time.
mod_pagespeed … I am running kind of a moderate number of things with defaults on server wide, then htaccess for local per site/folder controls/over-rides or “off.” With nginx I think you have to use a config file.
Anyway…. here’s my htaccess minus the 301 stuff:
<IfModule pagespeed_module>
ModPagespeed on
ModPagespeedEnableFilters collapse_whitespace
ModPagespeedEnableFilters move_css_to_head
ModPagespeedEnableFilters combine_css
ModPagespeedEnableFilters remove_comments
ModPagespeedEnableFilters rewrite_images
ModPagespeedEnableFilters insert_dns_prefetch
</IfModule>
# start WordPress
(removed; might be diff for other setups :-)
# END WordPress
AddType text/javascript .js
# BEGIN Expire headers
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 5 seconds"
ExpiresByType image/x-icon "access plus 2500000 seconds"
ExpiresByType image/jpeg "access plus 2500000 seconds"
ExpiresByType image/png "access plus 2500000 seconds"
ExpiresByType image/gif "access plus 2500000 seconds"
ExpiresByType application/x-shockwave-flash "access plus 2500000 seconds"
ExpiresByType text/css "access plus 700000 seconds"
ExpiresByType text/javascript "access plus 700000 seconds"
ExpiresByType application/javascript "access plus 700000 seconds"
ExpiresByType application/x-javascript "access plus 700000 seconds"
ExpiresByType text/html "access plus 600 seconds"
ExpiresByType application/xhtml+xml "access plus 600 seconds"
</IfModule>
# END Expire headers
# BEGIN Cache-Control Headers
<IfModule mod_headers.c>
<filesMatch "\.(ico|jpe?g|png|gif|swf)$">
Header set Cache-Control "public"
</filesMatch>
<filesMatch "\.(css)$">
Header set Cache-Control "public"
</filesMatch>
<filesMatch "\.(js)$">
Header set Cache-Control "private"
</filesMatch>
<filesMatch "\.(x?html?|php)$">
Header set Cache-Control "private, must-revalidate"
</filesMatch>
</IfModule>
# END Cache-Control Headers
<IfModule mod_headers.c>
Header unset ETag
</IfModule>
<IfModule mod_alias.c>
RedirectMatch 403 /xmlrpc.php
</IfModule>
Here’s my robots.txt file (again, your needs may vary)
User-agent: *
Disallow: /cgi-bin
Disallow: /cgi-bin/
Disallow: /wp-admin
Disallow: /wp-admin/
Disallow: /wp-includes
Disallow: /wp-includes/
Disallow: /wp-content/plugins
Disallow: /wp-content/cache
Disallow: /wp-content/themes
Disallow: /wp-content/upgrade
Disallow: /wp-content/backup-*
Disallow: /aff/
Disallow: /search/*/*
Disallow: /trackback
Disallow: */trackback
Disallow: /trackback/
We’re currently not running things off our Amazon CDN for the WP sites, in favor of using the horsepower of the dedicated server with high-speed switch, APC, mod_pagespeed, etc. Not finding it super beneficial to load those 1kb sprites off the CDN, frankly. (Brand new web server Dec. 2013). And for us tweaking is simpler when it’s all using one system, and letting mod_pagespeed fix some stuff.
I was manually minifying the style.css file and couple other things. Have not done that with latest version (just updated last weekend). Simple to do … some of my posts on here reference the websites like css minifier where you can copy/paste your code, make new file and over-write the theme css file to solve that issue (takes 5 minutes).
I had too many issues with the caching plugins so not using right now.
Take Google’s PageSpeed Insights with major grain of salt.
On one of my project sites (not running WP), we have the CSS loading from external file, minified, got pagespeed score of 87 and warning about only 47% of page loading above the fold (menu wasn’t showing up), and this could be seen missing from screen capture. So, we put all the code inline, speed went to 95 desktop, 85 mobile, but warning about above the fold now says only 1% was able to be loaded, but snapshot of screen shows everything above fold loaded properly.
Similarly on our WP install running Newspaper, here’s one of their wonderful “suggestions” ….
Reduce server response time
In our test, your server responded in 0.36 seconds. There are many factors that can slow down your server response time. Please read our recommendations to learn how you can monitor and measure where your server is spending the most time.
So, apparently 0.36 seconds is considered slow?
🙂
Hi,
Unfortunately this is not possible, we have tried this but without success, sorry for the inconvenience.
Thanks for understanding
Hi,
I have checked your site and saw that you don’t have any menu, this is the reason way you don’t have any logo on your mobile. On mobile the logo drops down in the menu bar, so if you don’t have a menu bar you don’t have a logo.
To fix this add this custom CSS in Theme Panel > Custom CSS:
@media (max-width: 767px) {
.header-logo-wrap img {
display: block !important;
}
}
Thanks
Hello Lucian, thank you for your help.
I didn’t find the code you mention in site.js and from the screen you sent me it seems to be the theme “Newses” and just so we’re clear I’m referring to the theme “Newspaper”.
What I did was eliminate the code below in site.js but is strange because with that, the drop-down list only works in a PC with the option of Android Chrome browser emulation, on Android devices it still doesn’t work and the mobile menu stopped working as well in the two cases.
if (td_is_iPad === false && td_is_touch_device === true && tds_mobile_swipe == ‘swipe’) {
//load fast click only on touch devices, except ipad
window.addEventListener(‘load’, function () {
FastClick.attach(document.body);
}, false);
}
Hi,
Send a link to your site to see the issue.
Thanks
Hello,
I would like to have mobile menu shown on tablet’s also. Where and how I can set this up?
Thanks,
Milan
Hi i didnt realise until now, but my logo is not displaying on mobiles.
It is set on style 1 (logo + ad) menu with the menu hidden.
Please have a look http://www.factsar.com
check my site on ur mobile and tell me if you can click on the menu on my site @ jahliveradio.com
I’ve just check ur site on my anroid phone and the menu working fine…when i click on links they working also..
Hmmm,weird… but if it was a theme issue i’ll have the same issue as you and every one else that bought the theme..
This problem not new. I am having same problem on demo site. Which is using no plugin.
Are you using cloudflare are any other plugin that optimize files..because this i a JS issue
Also I have tried everything. Also tried disabling all plugins too.
I did not say you where using it,i say you are a plugin that is Async JS and CSS files…
i’ve check ur source code and i see ur files is loaded in asynchronous.
-
This reply was modified 12 years by
Steven.
I am not using that plugin.