Page Speed 95/100 But…

Posted in: Newsmag
Post count: 95

Hi. Yes, is possible 🙂

imagebam.com

Following the guides and forum I reached using Comet Cache, tagDiv Speed Booster, etc.

all nice, added in tagDiv Speed Booster the codes, removing statistic plugin by histats (js hosted at them), no ads.

but since I want to add some ads, and back my statistic plugin or other I need to get those 5% I miss:

Eliminate render-blocking JavaScript and CSS in above-the-fold content : style.css

– if I add

$this->move_style_to_footer_queue('td-theme');

then is showing in pagespeed/insights back (reverts) all the changes I made… so, not good.

– if I add ‘td-theme’ line above and remove any other block that contains ‘td-theme’ in Speed Booster it crashes.

– There is a way to fix style.css render-blocking?

i ask, since i followed all the other codes, used them, it works, but not for style.css …

– other note: adding (‘js_composer_front’) breaked my homepage, any page I do with composer is showing a vertical line on the left side of the theme. so I now use only latest posts as homepage, to look fine.

– on mobile I have 84 / 100 just because of the same error, style.css in the screen above.

using wp 4.4.2 and v2.3.5.

  • This topic was modified 10 years by cstyn.
  • This topic was modified 10 years by cstyn.
  • This topic was modified 10 years by cstyn.
  • This topic was modified 10 years by cstyn.
Post count: 95

May be this related to your quote ? “Please notice that by default, the style.css file is directly moved to the footer when the speed booster is active.” https://forum.tagdiv.com/topic/page-has-1-blocking-css-resources-js_composer-min-css-ver4-11-2/#post-107560

I made it active using your tutorial in forum. I have other plugins installed and did this http://screencast.com/t/RZLIOPUNdqh

  • This reply was modified 10 years by cstyn.
Post count: 6535

Hi

If you move theme’s css file to footer your page speed will be increased but there will be a layout misalignment for a few seconds until the css it’s loaded and it its style it’s applied. That’s why we decide to keep the css in header.
Also if you decide to move all css in footer you have to keep the same order so make sure you added the code like here: http://screencast.com/t/jnZQRyqy0KoU

$this->move_style_to_footer_queue('google_font_open_sans');
$this->move_style_to_footer_queue('google_font_roboto_cond');
$this->move_style_to_footer_queue('js_composer_front');
$this->move_style_to_footer_queue('td-theme');

In indicated thread my colleague referred at Speed Booster behavior when it’s used with Newspaper theme. In that case the main css mile it’s moved to footer but VC’s css it’s left in header.

Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newsmag’ is closed to new topics and replies.