- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- TutorialsWhat is Ajax preloading?
makes sense. seemed to slow when i activated W3 cache thanks
will check server side gzip. also will try to use wp-optimize before moving forward
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?
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/
My site is now performing really well, i removed w3 total cache and speed booster. Actually when i was using speed booster the color of my main menu links and icons would display in black and the white which i chose so couldn’t use it anyway! In chrome it worked fine.
hi,
can you past your configuration for w3? i installed td_sppedbost + w3total but google speed give me 54/100 for mobile and 83/100 for desktop.
all problems are css/js above the fold.
so.. i don’t know which is the best way to set w3 totale cache.
please esport your settings and give me the file.
i’m on dedicated server.
Hi,
sorry for the long delay, our servers were under attack and I had to work full time on that š .
You basically have the following options:
- Use the object cache from w3 total cache – it caches the wordpress objects to disk (or ram via apc if you want)
- Use mysql query cache (via etc/my.cnf) – it caches the queries to ram
Hope this helps,
Radu O.
-
This reply was modified 12 years by
Radu.
Hi,
I’ve tried almost everything but nothing seems to fix the issue.
I just tried deactivating all plugins, cleared all caches (local and server) and tested the site. The thumbnail images won’t show up in the categories page.
Now, there’s one more semi-pattern that we found.
The thumnail images show up on certain pages and don’t show up on certain others.
For instance:
The thumbnails don’t show up on:
http://www.igeeksblog.com/page/4/
http://www.igeeksblog.com/page/6/
http://www.igeeksblog.com/page/8/
But they do show up correctly on:
http://www.igeeksblog.com/page/1/
http://www.igeeksblog.com/page/3/
http://www.igeeksblog.com/page/5/
I thought it was a pattern (even: no thumbnai, odd: thumbnail) but suddenly, this: http://www.igeeksblog.com/page/16/ – thumbnail shows up on even numbered pages too. So it’s kind of semi-pattern there.
Any ideas?
Give it time like 24hrs ..also did you cache ur site after installing the plugin..
I finally got someone optimizing nginx settings for me.
However can anyone confirm @Stevens settings? My first try seems that it is not any better than using w3cache
Checking link http://staging.dailycat.de/hund-rettet-katzenbabys-670/ checked with http://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fstaging.dailycat.de%2Fhund-rettet-katzenbabys-670%2F&tab=mobile
Old server vhosting (w3cache no nginx) (http://www.dailycat.de)
GPagespee 54 / 66 GtMatrix 83 / 68
New Server (same config as old) GPageSpeed 55 / 68 GtMatrix 86 / 70
New Server (@Stevens Konfiguration) GPageSpeed 48 / 71 GtMatrix 83 / 66
Mobile is the most important metric for me, since 65% of the visitors are mobile visitors!
Conflict with QuickCache
@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?
š
Hey Everyone,
I use random posts underneath each article in the similar articles area and in the sidebar widget.
It is very important for me to not always show the same recommendations. This is important, thus all articles get shown and trafficed. This becomes somehow tricky than caching comes in.
Thus I wanted to ask you guys for your expertise and hints! Any best practices out there?
How do you cache continuous loading?
My solution for now: I’m using nginx and reduced the cache time of posts to 1min.
Thx, I really appreciate your help!
Best regards, Manu
my result for test version:
– clean instalation wordpress and theme
– extra plugin: W3 Total Cache (I just clicked on: Enable page caching to decrease the response time of the site.)
ThatĀ“s all and results 8.7.2014 – mobil 77/100, PC 90/100: http://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Ftestinfoglass.sazovsky.cz
Now, I have to find a bug on my site: http://www.infoglass.cz Where I have results mobil 40/100, PC 49/100
Hello, I have the same error.
I’ve tried with Safari, Chrome, IE, cleared the cache, de-activate all plugins. No change
I’m using WordPress 3.9.1 and Newspaper 3.8.4
My site is http://www.yogaretreatmag.com/
thanks
thanks a lot, yes, I try in every available browser already, and no luck, also cleaned cache…..no idea why this happens.
If you’re using Internet Explorer (e.g., IE11/Win7-64), you will get spinning squares of doom with some save actions. Some weirdo issue with java/ajax and IE. Try using Chrome, Safari, or Firefox (depending on platform).
With Firefox, I’ve also seen issues with oddball customizations that use Java/Ajax or something and conflict with the browser doing things on ALL web pages.
That may not apply to you, but it’s been my consistent issue with WP the past couple of years with a number of themes using Virtual Composer.
I’m sure you’ve already tried things like clearing cache, etc.
Thx lucian,
I added that in the custom css but even after clearing the cache it’s still in uppercase š
Hello, first time poster here. (loving this theme btw)
My issue is with custom cropping thumbnails. Please see these screenshots:
This is what the full image looks like (1:1 ratio – featured image):
https://docs.google.com/file/d/0BwLFxEIDQNO7eUJOZFRPdEhwdTg/edit?usp=drivesdk
This is what the thumbnail looks like:
https://docs.google.com/file/d/0BwLFxEIDQNO7RzdJRW9wb2h5UzA/edit?usp=drivesdk
So I cropped it using wordpress’ media tool to no avail:
https://docs.google.com/file/d/0BwLFxEIDQNO7YjYxX1RvVGx0NG8/edit?usp=drivesdk
I’m using latest chrome broswer, already cleared my cookies/cache, and installed the regenerate thumbnails plugin, ran it, still didn’t work. Deleted image, reuploaded new image, cropped again… still no change.
Nothing seems to be working as it still shows the thumbnail auto-cropped from the center. What am I missing?
Thanks a ton for any help.
Matt
Hi, I get this error:
Error 503 Service Unavailable
Service Unavailable
Guru Meditation:
XID: 391304500
Varnish cache server
after a while, when trying to install the 2 plugins from “Private Repository” (Revolution slider and tagDiv social counter). Non error appears in log file.
I also get the same error when installing the theme demo, but some content is installed anyway and here I get this error in log file:
(104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server, referer: /ttp://www.example.com/wp-admin/admin.php?page=td_theme_panel
(104)Connection reset by peer: mod_fcgid: ap_pass_brigade failed in handle_request_ipc function, referer: /ttp://www.example.com/wp-admin/admin.php?page=td_theme_panel
At the moment my hosting provider can’t find any other error or a timeout problem, do you have any solution?
Thanks a lot
Hi,
A recent issue that we have solved was the conflict with the latest version of the SEO by Yoast plugin, but we had fixed. The problem with the W3 Total Cache exist, of course we found a solution that worked in past, but now I’m not sure that still work with latest WP version, but worth a try if you want to test it.
See here: https://forum.tagdiv.com/wp-postviews-post-view-counter-alternative-for-w3-total-cache/
Or disable the W3 total cache if you want views.
Thanks for the message!
Hey guys,
I’ve upgraded to the latest 3.9 release and I’ve noticed that the view counter is still doesn’t work. I’m using w3 total cache but no speedboster plugin,or jetpack. The prime example I can give you, somebody posted on of our articles on reddit and we got around 5k visitors on that article, the counter showed 20, even after clearing the cache and the next day. I’m not sure what was fixed or if I had to do anything extra to make it work.
I’d appreciate a piece of advice.