- NewspaperCloudflare (CDN)
- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- NewsmagUsing the theme translations together with WPML
- NewspaperUsing the Theme Translations with WPML
- NewsmagCustom Post Type Support
- NewsmagRequirements for Newsmag
- TutorialsWhat is Ajax preloading?
- NewspaperRequirements for Newspaper
- NewspaperHow to Make the Site Faster
Heh. If gtmetrix times out that is really bad, and might be first thing to check with your cdn. Try turning off all the plugins except vc, then solve that problem first. Turn off lazy load feature.
Go through my sticky post at top of forum, and be aware of stuff like upping default wp memory, expiration headers, default image optimization level, functions.php fixes, remove as much external stuff as possible like gravatars, limit ad spots, dont use google fonts, etc.
Heh. If gtmetrix times out that is really bad, and might be first thing to check with your cdn. Try turning off all the plugins except vc, then solve that problem first. Turn off lazy load feature.
Go through my sticky post at top of forum, and be aware of stuff like upping default wp memory, expiration headers, default image optimization level, functions.php fixes, remove as much external stuff as possible like gravatars, limit ad spots, dont use google fonts, etc.
I can’t seem to solve or make progress on my Newspaper Theme performance issues.
I’ve got five friends that want to use Newspaper, too, if only I can get past my performance issues.
(They’re new bloggers, they like the idea of the theme, they’re a bit worried about my inability to fix my performance issues, or to find someone who can.)
My performance sucks (in the 40’s) with no clear remedy in sight.
Worse, when users hit my site the first time, the page loads blank (no images show)
If they reload the home page, then images show the second time, but after a flash of gray.
Here are screen shots:
* Empty Images – http://www.awesomescreenshot.com/image/509260/1ae034f2ac380576a5dd1d8e49faed92
* On Reload – http://www.awesomescreenshot.com/image/509262/dd0893dd0a1944de6aab6f0a9591e297
I haven’t seen anybody else’s site load like mine, where it’s all framed out with gray placeholders, and then, as if a second flash, the images then show up.
Here’s my setup at a glance:
* I’m hosting on Siteground.
* I use WP Rocket which is tested with Siteground — just default options.
* I’m using a CDN (Cloudflare), with default options.
* I have Gzip working.
* I use WP Smush Pro to smush all images (all images are smushed.)
* I used P3 (Plugin Performance Profiler) to analyze plugin performance.
I contemplated W3 cache (well, In installed it, but it was immediate conflict with WP Rocket, and WP Rocket’s feature compare shows superior in all regards, but I don’t have enough experience yet to know of it’s true.)
I get Chris’s point on the difference between buying a car, and driving the car. Well, now I want to know how to drive like the Mario Andretti. I feel like I’ve got the “owner’s Guide”, but not the “Driver’s Guide”. But actually, I don’t want yet another guide, I want a student driver model where I pay a consultant to show me the ropes for a couple of hours while fixing things, looking over my shoulder, or me looking over theirs.)
My images are probably the main problem, I don’t know how to fix them without doing weird acts of God, and I’m trying to keep posting simple and pragmatic, not build a better mouse trap with weird optimizations and even weirder workflow.
Tutorial
—————-
I’ve seen these tutorials …
* Page Speed Tutorial – https://forum.tagdiv.com/topic/tutorial-pagespeed-2015/
* How to make the site faster – https://forum.tagdiv.com/how-to-make-the-site-faster/
* Better Explained – How Compression Works – http://betterexplained.com/articles/how-to-optimize-your-site-with-gzip-compression/
* Google on Image Optimization – https://developers.google.com/web/fundamentals/performance/optimizing-content-efficiency/image-optimization
Posts
—————
I’ve seen these posts:
* Pagespeed – https://forum.tagdiv.com/topic/pagespeed/
* What is your google page speed value – https://forum.tagdiv.com/topic/what-is-your-googlespeed-value/
Tips
——————–
I’ve seen these tips:
* Chris S – Additionally, I use the WP-Optimize plugin to regularly optimize my WP dbase. Cutting 800kb out of your dbase once a week, or after a large number of posts/pages, also speeds up your system overhead. https://forum.tagdiv.com/topic/what-is-your-googlespeed-value/
* Chris S – If you can hit 90+ on your desktop score and 85+ on mobile, you can live a happy life and not stress over it. https://forum.tagdiv.com/topic/what-is-your-googlespeed-value/
* Chris S – – There are numerous resources on the net to learn how to set-up your web server account for gzip, expiration headers, optimize your images prior to uploading to your site, editing your htaccess file for WordPress, limiting use of resource hogging plugins unless absolutely necessary, etc., using W3cache with the minimal settings recommended in this forum from Radu/Marius (( QUOTE: w3 total cache use only the ‘full page cache.’ )) – https://forum.tagdiv.com/topic/pagespeed/
* Radu – On the demo we are running a stock theme with our stock speed booster plugin! Also note that any additional plugins slow the theme down and lower the score in pagespeed. – https://forum.tagdiv.com/topic/what-is-your-googlespeed-value/
Tools
————
I’ve used these tools
* Google Page Speed – https://developers.google.com/speed/pagespeed/insights/
* GTMerix – https://gtmetrix.com/analyze.html
* Is compression working? http://www.gidnetwork.com/tools/gzip-test.php
* Pingdom Tools – reality test – http://tools.pingdom.com/fpt/#!/bGth8K/sourcesofinsight.com
* Web Page Test – http://www.webpagetest.org/
Google tells me my page speed sucks. Is Compression Working tells me Gzip is working. Pingdom tells me my images are bloated. GTMetrix fails with a 522 timeout and blames my CDN.
The quote that keeps me going is:
“Whatever doesn’t kill you makes you stronger.”
I guess I’m getting stronger day by day.
JD
Did you try the new update to iPhone today?
Might fix that issue. I don’t have that with my site.
Could be the page reloading via CDN and having slight delay if you’re using anything like that.
Are you using Safari on Windows? That is deprecated and not supported for 2+ years when Apple abandoned it. It only works with Mac OS and iOS. In case that matters to you.
If you’re using Safari on Mac, try clearing your cache completely as moving from one theme to another it may cache the CSS from the other version.
You can also view source in Safari to see WHAT is printing on the page for the HTML, to see if the image is there, malformed, or if you have some caching plugin, or CDN, linking to image not actually there. e.g., is the image link actually there in Safari?
Are you saying it doesn’t appear on Safari desktop, or does not appear on Safari iOS, or both?
Looks like you’re using some oddball right-mouse-click disable function, which serves no purpose since anybody can capture the HTML, all images, etc., easily enough. But disabling things with some kind of java layer or similar might cause issues with Safari.
This doesn’t really help you
<!– WP Content Copy Protection script by Rynaldo Stoltz Starts – http://yooplugins .com/ –>
I just copied all your content. So, that doesn’t work.
You might try disabling the lazy load image function, also.
Just some ideas (I don’t work here) 🙂
-
This reply was modified 10 years by
simchris.
Hi HBP,
Glad to find you’ve managed to solve it. Thanks for letting us know!
The theme has also been updated to fix this deprecated widget constructor warning in wp 4.3 update so you if you’ve don’t already use it you can download it from themeforest: http://themeforest.net/downloads and update it or update just this file: http://screencast.com/t/pM8mC5BZtad with this one: http://cdn.tagdiv.com/wp-content/uploads/2015/08/td_widget_builder.zip
Let me know if you have any other theme related issues.
Thanks for the message!
Hi
Seams that a theme’s class it’s missing, so you can try to re-upload the theme, (delete the old install) and make sure that all files are uploaded, here it’s an update guide: https://forum.tagdiv.com/how-to-update-the-theme-2/ Also deactivate all plugins clear the cache purge cdn files if you’re using and test again.
If the problem persist please send an email at contact@tagdiv.com with your site’s login details and we will inspect this issue, also include a link to this topic.
Thanks!
Thanks for such a quick reply Chris
Yes I’ve taken a speed hit but not optimised site yet, will probably go CFlare – used before on GoDaddy Managed WP and kept getting 522 errors annoying users and they could never solve. Also used MaxCdn which is also not on yet on the new site. Plus you’re right it could just be the blip of change that sometimes happens – will give it all a few days and let you know of still an issue
Pat
Hi
I’ve checked your site and notice that in mobile devices Newsmag theme it’s inactive, that’s why the blocks are not displayed. Try to deactivate Jetpack mobile theme: http://screencast.com/t/EZIPMqxq, clear the cache, purge the cdn files if you’re using and test again.
Let me know how it goes.
Thanks!
Hi codearachnid,
The theme and the VC plugin are tested before release and none conflicts within VC and theme have occurred so please make sure you empty all caches (also purge files if you use CDN host) and disable all plugins then test again. If this still occurs please switch to the main theme and check again. You can also test this using a default wp theme.
Let us know how it goes and if nothing works please provide your admin login details so we can have a closer look at this and send them via email at contact@tagdiv.com along with a link to this conversation.
Thanks
Hi,
Did you updated to the 4.3 version of WordPress? Please also update that theme to the latest version 6.3.3 – http://screencast.com/t/NdrAqu989
Also if you don’t want to update here you can find the fix – http://cdn.tagdiv.com/wp-content/uploads/2015/08/td_widget_builder.zip just replace the old file td_widget_builder.php – http://screencast.com/t/xrAr1JLL2EF
Thanks!
Hi Alin,
Yes problem persists. (in the previous message i forget to say that mobile versione works fine )
I’m right now cloning the production environment to do some more test. If you want i can give you admin access to that test environment.
I also disable caching plugin (my hosting is siteground that have a custom cache plugin: SG Cachepress) and disabled cloudflare CDN
-
This reply was modified 10 years by
gfm1978.
Hi,
Sorry for this inconvenience, we forgot the list of modified files from 6.3 to 6.3.2 and also the patch is from 6.3 to 6.3.3 but this wordpress fix is included so you can use the patch to update.
Also if you don’t want to do a clean update, this is the only file modified from 6.3.2 version (fixed deprecated widget constructor warning in WordPress 4.3) td_widget_builder.php – http://screencast.com/t/xrAr1JLL2EF I have update the file here, if you want to use it – http://cdn.tagdiv.com/wp-content/uploads/2015/08/td_widget_builder.zip
Hope this helps!
Hi,
I can see almost all resources from wp-content and wp-includes loaded from cdn: http://screencast.com/t/rkeBAc2jNnRL – http://screencast.com/t/JgvYKF4cdE2b
Please note that you need to escape some resources from cdn like theme’s fonts. You can find more details and fix in this topic: https://forum.tagdiv.com/topic/search-bar-icon-missing/
We haven’t tested the theme with cdn however it should using a proper configuration so if you don’t have experience on using cdn please contact a freelancer to help you configure it or search for tutorials online as we can’t offer other cdn configuration support.
– http://www.wpbeginner.com/beginners-guide/how-to-install-and-setup-wp-super-cache-for-beginners/
– https://www.maxcdn.com/one/tutorial/setup-wordpress-with-wp-super-cache/
Hope this helps!
Thanks for the message!
Try clearing your caches, CDN expirations, etc.
Use the “regenerate thumbnails” plugin to create thumbs to fit this theme’s layout/sizes.
I don’t think all the photos from the demo are included as they may be royalty images which require a license; not sure.
Hi,
I have recently created a site: http://www.almosthuman.cn . I am trying to increase the speed of the website using CDN. There is a setting in WP-Super-Cache to simplify the CDN configuration.
CDN prototype: http://cdn1.almosthuman.cn/wp-includes/js/prototype.js
Off-site URL is set to http://cdn1.almosthuman.cn
Directory is the default: wp-content, wp-includes
Exclude extentions: .php
The problem is the homepage static files are not served from the CDN.
– Homepage url: http://www.almosthuman.cn/
– chrome developer tool->sources shows almost all content being served from http://www.almosthuman.cn/
– this bug is only apparent with clean cache on first load
The CDN seems to be working fine for http://www.almosthuman.cn/news/
– opening up , we can see wp-content and wp-includes being served by cdn1.almosthuman.cn
Then if I go back to the home page: http://www.almosthuman.cn/
– everything is normal again, content is served from cdn1.almosthuman.cn
Is this a WP-super-cache bug or there is some configuration error in Newsmag which I can fix?
Thanks
Jack
Hi
I believe this happens due to cache, so make sure you empty all caches, purge cdn files and test again. If the problem persist please provide a link so I can inspect this issue closer.
Thanks!
Hi
I’ve checked your site and it’s displayed fine now: http://screencast.com/t/YyQhe6yML – http://screencast.com/t/2vEGoWGbj Could be a cache problem so you can try to clear all caches, purge cdn files if you’re using and test again.
Let me know how it goes and if you still have this issue provide more details.
Thanks!
Hi,
The lazy load feature uses js, i suspect the issue may be caused by a plugin, try to disable cdn/cache, disable all plugins except for Visual Composer, enable lazy load and see if the issue is still there. If it’s gone enable the rest of the plugins one by one until you find the one which causes this.
Thank you!
Hi,
Please try to regenerate all your thumbnails – https://forum.tagdiv.com/using-the-theme-with-existing-content/ and also purge your files if you use CDN.
Thanks!
Well “page loading time” is only one element of optimization; there is also Google’s PageSpeed which can impact ranking for mobile users and how well your site will be shown in SERPS. That is one of the main reasons to “optimize” a site — “speed loading” is one aspect while “speed rating” is another. So, obviously WP Rocket and Cloudflare help by re-writing pages for clients, but not everybody wants to pay for those services.
For example my business site has a UX score of 100/100. Desktop 97/100. Mobile 96/100. Avg. page load 1.2 sec with https and no CDN or caching plugin on top. That matters. While various solutions exist, DIY, outsource, or paid service to rewrite pages dynamically — one needs to do something.
So, obviously folks need to research what fits their needs the best.
All great info in the thread as I’m sure the newbies will find it of interest. 🙂
screenshot broken when I try to look at it.
Check your theme settings in the WordPress “settings” panel to make sure you have the correct domain name set.
If you’re using YOAST, check the settings to make sure you don’t have the wrong setting for “prefer www” or similar.
If using external element like Jetpack, make sure you didn’t register the site as www/.
If you view the WordPress.org codex (docs) for the wp-config.php file, you can also set the “explicit” domain for your site in that which will tell WP it’s always “this way” (e.g., without www).
If you are entering info in widgets like RSS feed, make sure you put in the correct domain URL.
If you are using a CDN, make sure you have the right domain setting there.
Hi,
I’ve checked your site on pagespeed and gtmetrix and the server response time is high. The optimization is good but the page load time is too high – http://screencast.com/t/UThrBPlUO
You could try to use a CDN, we recommend Cloudflare – https://www.cloudflare.com/
Also check the error.log file to see if there’s a something related to this behavior.
Thank you!
Hi
I still can’t find the issue on your site. Try to deactivate all plugins, except Visual Composer, clear the cache, browser cache also: https://kb.iu.edu/d/ahic purge cdn files if you use any and test again.
Let me know how it goes and if it still happens and provide more details so can I recreate this on my side!