Alin – I had used Minify JS option in cloudflare and that’s why it was giving this error but that feature in cloudflare is really helpful as it compresses the JS files as well as store them in Cache
Could you please forward my concern to developer that your theme shouldn’t throw an error while using Minify JS in cloudflare. I don’t think there are many changes required to make sure theme doesn’t break when Minify JS is enabled in Cloudflare.
Thanks
Hi,
How to remove video play icon from thumbnail?
Because I minify my website too hard and my icon missing for mobile. So I decided to remove icon.
http://layanable.net/
Thank you.
Hi,
We tested WP Super Cache with the theme and we decided to recommend it to be used with Newpaper theme, it seems to be faster. Also we recommend to be used as default (no minify) – https://forum.tagdiv.com/how-to-make-the-site-faster/
Thanks!
Hi,
Firstly please deactivate/turn off the minify/compression for a better debugging. You have some js errors in console, see here: http://screencast.com/t/LevmjCWG6Lv
You need to inspect it to see where your css is loaded. Reply back when you turn them off.
Thanks for the message!
I had encountered this problem while using Cloudflare. Maybe you can resolve it by disabling the Auto Minify option, Rocket Loader, these are unnecessary when you use a fast optimized theme like Newspaper. It worked for me back then (nearly 5 months ago )
If that doesn’t help, then wait for the TagDiv team 🙂
Oki.
First. (missing files) http://gtmetrix.com/reports/www.movzio.com/XJg9IOf2
You need to disable tag div api plugin or fix them, because its calling https://www.movzio.com/wp-content/plugins/td-api-plugin/css/style.css and this file doesnt exist.
second (light files) https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fwww.movzio.com%2F&tab=mobile
You need to MINIFY and COMBINE html, css and js code. I dont like w3 because have too many options, but you can try minify option on w3 :-P. Just exclude style.css
Third (server response)
You are on Nginx and nginx works better whit other cache plugins like WP-FFPC instead of w3, just need to install memcached latest version on your server.
Regards
Thank you for your answer Chris S 🙂
I found the fix for this problem.
With W3 Total Cache only minify html&xml and use another plugin to minify css and JSS (Better WordPress Minify) with both plugins the images runs ok with lazy load :).
I reach an 91 in google page speed 🙂
Hi folks … couple of fun ‘edge’ things to play with:
======================
CLOSURE COMPILER FOR JS
Google has started recommending a program (Closure Compiler) to manually minify js files which uses “latest methodologies” — but I’ve not yet tested this myself due to lack of time lately:
https://developers.google.com/speed/articles/compressing-javascript
==========
CRITICAL PATH GENERATOR FOR CSS
Something to consider using in place of TagDiv speed booster plugin for some instances/situations to remedy render blocking CSS issue — this basically inlines the “critical CSS” for your page, then you load the full CSS file at bottom of your page normally; so this allows the above the fold CSS to be part of initial doc load. Fascinating — it auto analyzes your existing web page then spits out optimized code you can place in the header file.
Minifying js is very tricky because some modern JS isn’t well understood by the compactor programs; meaning some syntax gets moved and then it just doesn’t work.
Google has started recommending a program (Closure Compiler) to manually minify js files which uses “latest methodologies” — but I’ve not yet tested this myself due to lack of time lately:
https://developers.google.com/speed/articles/compressing-javascript
Ok, i find the problem. When I active minify js happen this problem. Another form to minify js?
Hi,
I see that in the documentation is recommended W3 Total Cache, I have changed it also there. We tested WP Super Cache with the theme and we decided to recommend it to be used with Newpaper theme, it seems to be faster. Also we recommend to be used as default (no minify). Sorry for misunderstanding!
Thanks for reporting!
-
This reply was modified 11 years by
Alin [tagDiv].
@Ing Geek:
Thank you, I think minifying style.css was the problem.
Yourpitstop, you need to exclude style.css from minify.
Thanks Emil! The number 5 function didn’t work, but I changed it to “article bottom ad” and replaced the taboola script into the loop-single file below the article sharing function and that worked. Now I just need to figure out how to get the article bottom ad above the author box – you don’t happen to have another function that works for that, would you?
And Chris – thanks for the suggestion. I wasn’t minifying the functions.php file, I minified the stylesheet, and didn’t know if I was supposed to do that before or after modifying the functions file – but as you say, they aren’t related, so that rules out that!
Thanks!
Hi,
We tested WP Super Cache with the theme and we decided to recommend it to be used with Newpaper theme (also with Newsmag) it seems to be faster. Also we recommend to be used as default (no minify).
Thanks!
Hi,
I was working on W3 Total Cache plugin and after I enabled the Minify settings the theme started behaving differently some of the post were deformed, refer URL”http://www.yourpitstop.com/jaguar-xe-review/”
the image of the problem is as follow: http://oi60.tinypic.com/262tyyw.jpg
so far I have tried deactivating the plugin and have emptied complete cache and reinstalled the theme.
What am I doing wrong please tell?
What are the correct settings of W3 Total Cache Plugin for Newspaper Theme?
Which is plugin more compatible W3 total cache or W3 Super Cache?
+1, that was the thread I started of and it helped a lot, no async plugin, no above the fold plugin, no minify plugin anymore.
I still have some nasty report from google for mobile speed but Desktop for all major speed test pages are now 94-98.
thx Chris for that !
Hi,
Please try to add it here in the javascript file – http://screencast.com/t/7EcbCcC2
If you use speed booster you have to add it here – http://screencast.com/t/rO1lCWxiks and then you have to minify all content of the file – https://closure-compiler.appspot.com/home
Thanks!
HI, Glenn
doh. That just proves I’ve been too busy working on our main business website this past couple of weeks to even think about that or minifying my CSS, for that matter for 1.71.
I guess we might need Marius or Radu’s (et al) help on how to revise this code for the shim:
add_action('init', 'myoverride', 100);
function myoverride() {
remove_action('wp_head', array(visual_composer(), 'addMetaData'));
}
function dequeue_visual_composer_css() {
if (is_single()) {
wp_dequeue_style('js_composer_front');
}
}
add_action('wp_enqueue_scripts', 'dequeue_visual_composer_css', 1003);
since the new code in header is js_composer.css and old code is js_composer.css; not sure if we have to edit the booster main function file or what ?
This is totally a question for TagDiv support, so let us poke them on this one 🙂
1) for Eliminate render-blocking JavaScript and CSS in above-the-fold content: like mentioned, didn’t know where to put them so i reverted to the original file. please let me know where to put both, css and js.
pastebin td-speed-booster: http://pastebin.com/MtRgLy7d
2) for cache i’m already using w3 total cache, should i change to WP Super Cache?
3) any plugin to recommend for minify?
4) Prioritize visible content
Your page requires additional network round trips to render the above-the-fold content. For best performance, reduce the amount of HTML needed to render above-the-fold content.
The entire HTML response was not sufficient to render the above-the-fold content. This usually indicates that additional resources, loaded after HTML parsing, were required to render above-the-fold content. Prioritize visible content that is needed for rendering above-the-fold by including it directly in the HTML response.
What can i do for this?
-
This reply was modified 11 years by
instacomedy.
Hi,
1) and 2) The js was moved at the bottom – http://screencast.com/t/VOSuXqWz
The css is still at the top, maybe you added those lines in the wrong section, please provide the content of your speedbooster plugin file to take a look, use pastebin – http://pastebin.com/ – Even if you move all css and js at the bottom Google pagespeed test may still show the warning because you have too many resources on the page.
3)On leverage you have the google ads and other js which comes from external resourcess – http://screencast.com/t/tjIX5RnvVJqS , it has a leverage set but it’s considered too low by the pagespeed test, basically google penalizes you for using their ads for which you can’t set a higher leverage.
For css js minifications you have to use a plugin, the settings depend on the plugin used, some may give errors when you minify their css or js so basically you have to make some tests.
Also use a cache plugin, we recommended W3TC in the past but now we made some tests and WP Super Cache seems faster.
Thank you, Emil G.
hi, every time i get a surge of traffic, my site becomes crazy slow, especially on mobile devices. im running a 32gb ram server and confirmed with my web hoster that none of my ressources are even close of being used. i tried using google speed test for my site newswatch28.com, i get many errors: https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fnewswatch28.com%2F&tab=mobile
i have the td booster pack plugin enabled. im also running w3 total cache plugin with page cache and browser cache enabled.
for Eliminate render-blocking JavaScript and CSS in above-the-fold content: i tried following https://forum.tagdiv.com/page-speed-guide/
i pasted the code in my functions.php removed it got all my files ids that i need to add to the speed booster pack plugin php file:
$this->move_style_to_footer(‘easy-social-share-buttons’);
$this->move_style_to_footer(‘contact-form-7’);
$this->move_style_to_footer(‘google-font-rest’);
$this->move_style_to_footer(‘js_composer_front’);
$this->move_style_to_footer(‘td-theme’);
$this->move_js_to_footer(‘contact-form-7’);
$this->move_js_to_footer(‘td-site-min’);
$this->move_js_to_footer(‘comment-reply’);
$this->move_js_to_footer(‘jquery’);
i tried pasting them where i thought i should but when i tried refreshing the speed test, the errors never went away. i reverted to the original… im not sure where to add them…
For prioritize visible content, i have no clue whatsoever to do, and strongly feel i need to do this. mobile only 31% rendered and 20% on desktop:
Your page requires additional network round trips to render the above-the-fold content. For best performance, reduce the amount of HTML needed to render above-the-fold content.
The entire HTML response was not sufficient to render the above-the-fold content. This usually indicates that additional resources, loaded after HTML parsing, were required to render above-the-fold content. Prioritize visible content that is needed for rendering above-the-fold by including it directly in the HTML response.
For Leverage browser caching: once again, no clue what to do. i tried following the guide again pasted the code from your guide in .htaccess, nothing…. deleted and reverted to original awaiting on your answer.
there’s other minify issues but no instructions on the guide.
i can provide my ftp access, and admin login. please help, really dont know what to do anymore at this point…
Hi,
This could happen due to various reasons, please go trough the adsense troubleshooter pasted below and contact your ad provider if you still can’t manage to make them work: https://support.google.com/adsense/answer/1208336?hl=en
You can also test your ad code using a WordPress text widget to place the ad into your page or sidebar, if your ad code works/was approved this widget should show you ads: http://screencast.com/t/Cv00hEmZhIv – http://screencast.com/t/Yp3N6YnaHiqg
To minify theme’s js and to move the resources to the footer you can use theme’s speed booster plugin which enables and uses a minifyed version of js, for css you need to do it manually as compression it automatically could cause issues and its not recommended.
Also make sure that you go trough the treads/guide below for more info on how to customize your site’s page speed and other matters please follow and use all instructions provided in all this treads:
* https://forum.tagdiv.com/topic/pagespeed/
* https://forum.tagdiv.com/topic/tutorial-chriss-custom-optimizations-for-functions-php-etc/
* https://forum.tagdiv.com/page-speed-guide/
Thanks
COuld you please explain what went wrong in ads, sorry em a newbie in this.
How to improve the page speed , i tried all possible way to minify the css and js , could you suggest some help over that would be a great support.
Hey Lucian,
I’ve check with a few friends and they all say that my site looks alright now. This is what we all see:
http://www.screencast.com/t/11inp7dbS
Can you clear your cookies and cache of your browser and check to see if that is what you see?
I replaced my style.css code with the original, not minified – when I minify my style.CSS code, the mobile site completely messes up – do you know why? It appears as the above. It is recommended to minify in Chris’ pagespeed post (he outlines how to do it) – but it makes the mobile theme un-useable.