Minify Javascript and CSS Errors

Posted in: Newspaper
Post count: 76

When I check my G Metrix score I’m getting a lower score due to: There are 53 components that can be minified as below

inline <style> tag #2
inline <style> tag #5
inline <style> tag #6
inline <style> tag #8
inline <style> tag #9
inline <style> tag #10
inline <style> tag #12
inline <style> tag #14
inline <style> tag #15
inline <style> tag #16
inline <style> tag #17
inline <style> tag #19
inline <style> tag #20
inline <style> tag #21
inline <style> tag #22
inline <style> tag #23
inline <style> tag #25
inline <style> tag #27
inline <style> tag #29
inline <style> tag #30
inline <style> tag #32
inline <style> tag #33
inline <style> tag #35
inline <style> tag #36
inline <style> tag #38
inline <style> tag #39
inline <style> tag #41
inline <style> tag #43
inline <style> tag #46
inline <style> tag #47
inline <style> tag #48
inline <style> tag #49
inline <style> tag #50
inline <style> tag #51
inline <style> tag #53
inline <style> tag #56
inline <style> tag #57
inline <style> tag #58
inline <style> tag #59
inline <style> tag #60
inline <style> tag #61
inline <style> tag #62
inline <style> tag #65
inline <style> tag #66
inline <style> tag #70
inline <style> tag #72
inline <style> tag #77
inline <style> tag #79
inline <style> tag #80
inline <style> tag #85
inline <style> tag #87
inline <script> tag #3
inline <script> tag #12

https://www.funeventsasia.com/

Post count: 35449

Hello,

The speed of your website depends on how well your site is optimized, if you follow the steps which are presented in this tutorial here -> https://tagdiv.com/how-to-increase-page-loading-speed/ you’ll be able to increase the speed of your website.
Also you can check this similar topic for more solutions: -> https://forum.tagdiv.com/topic/optimize-script-to-improve-site-speed/
Also we do offer page speed services over a fee, if you want us to increase your page speed you can check our custom services from here -> https://tagdiv.com/premium-customization-services/

Thank you for your understanding!

Post count: 76

Hi Calin

I’m not asking for ways to speed my website which is already fast but I renewed my support here just for this fix. This is an error I would like solved as there are 53 components that can be minified as below which i was informed due to the theme!

Post count: 35449

Hi,

You can make a test on https://gtmetrix.com/ with a default demo and with a PRO demo -> https://demo.tagdiv.com/select_demo/select_demo_newspaper?utm_source=live_preview&utm_medium=click&utm_campaign=demos&utm_content=demos_button#demos, the default loads more style, when the PRO will load only the stile that is need.
You can avoid these inline <style> tag #87 by changes all old elements from standard pack with these from cloud and flex, you check our documentation from here:
-> https://forum.tagdiv.com/topic/action-required-please-read-how-to-update-to-the-newspaper-theme-v-10/
-> https://tagdiv.com/newspaper-theme-update-standard-pack-or-tagdiv-cloud-templates/

Thank you!

Post count: 76

Hi Calin

My sincere apologies as I assumed for a faster loading site etc I was supposed to de-activate the ‘standard pack’ plugin. So what you’re saying is for better and faster performance I should enable it?

Post count: 35449

Hi,

For a better performances you’ll need to use only elements that are from Cloud Library and tagDiv Composer, ( you’ll need to replace the blocks from standard pack and disable it ), after that there should be no problems.

Thank you!

Post count: 41

Hallo,
I have the same issue. The information about the Standard Package are somewhat confusing.
What I understand from it is, that if I want a faster website, I have to deactivate the Standard Package.

But on your website it still sounds like a good-to-have plugin: “For this, we’ve added a premium legacy plugin called Standard Pack. It brings you all the previous functionality of the Newspaper Theme. When you deactivate it, your website gains page loading speed.”

So I deactivated it. Then everything looked broken. So I switched from a normal Demo to a Pro Demo and built everything new while using templates from the cloud library. Furthermore I only used Flex Blocks. I used templates for all the sites I can. Then I deactivated the Standard Package. And everything looks fine now on the website. But on GTMetrix I get the same message similar to the one in the first post: “There are xx components that can be minified as below

inline <style> tag #x
inline <style> tag #x
…”

The only thing I can imagine is the template for homepage because I did not change that one, because I assumed it already is Pro because I use a Pro Demo.
Therefore I tried to load a Pro template for “Homepage”. I still get the same problem with GTMetrix. So it is not the template from Homepage.

Then I used a Pro Header, because maybe it is the header I thought, so I sent it through GTMetrix. Only the header, nothing else. And still it shows the same message but with less components that can be minified.

What am I doing wrong?

Thank you for your support.

Post count: 35449

Hi,

Maybe you have other plugins install that load that inline style.
On GTmatrix with a pro demo -> https://gtmetrix.com/reports/demo.tagdiv.com/EXBbgorQ and with an default demo -> http://prntscr.com/q367r0 -> https://gtmetrix.com/reports/demo.tagdiv.com/VDaXXq1z

Thank you!

Post count: 76

I have to agree with Maggo as it’s confusing! Do we enable or disable the ‘standard pack’ plugin I appreciate your support and sending a link however I have this error on ALL themes using Newspaper which is why I paid to renew support. I would appreciate you following the link and letting us know what and where this error is coming from?

https://www.funeventsasia.com/build-a-bike-for-kids/

Post count: 76

Following my last reply and with extensive testing when I turn of the TAGDIV composer all the errors are gone and I get almost an almost 100% GTMetrix score! However, this must be enabled but it’s the cause of all the errors!

  • This reply was modified 6 years by ToniLaird.
Post count: 41

I made a new website with only the Default Pro Theme.
I did not change a thing.
The only plugins I installed are the required tagdiv ones (cloud library, composer, social counter, standard pack). The only two ever activated are cloud library and composer.

After sending it through GTmetrix it shows the error message about the inline again.
See report here: https://gtmetrix.com/reports/byjvza.myraidbox.de/utOhfpzK

So the error is on your side and can’t be avoided by using (at least) the Default Demo Pro.

If you want to have a look. The URl is http://byjvza.myraidbox.de
But as I said, this is a completely untouched Default Pro Demo.

I can’t do more from here on and will just hope that you find the time to fix that.

Thank you.

Post count: 35449
Post count: 76

I’m sorry but is this a joke! Your theme is causing an error in GTMetrix and the best support I get is a list of links to posts! You advertise this new Newspaper X update as blazing fast with a high gtmetrix score. I have errors and when I PAY to renew support your first reply to my issue is an additional ‘paid service fee’ I’m assuming there is NO MORE support here! You then blame other plugins and I replied this is coming from the tagdiv editor and standard plugin! You can’t be serious with your replies for support considering I bought newspaper 4 times and recommend your theme to all my clients! This will no longer be the case!

We are now looking at Elementor and Divi as an alternative! If this is what you consider professional support I’ll add this to my in depth review and why I would recommend one of these alternate 2 page builders! Absolutely shameful!

  • This reply was modified 6 years by ToniLaird.
Post count: 41

Ok, I solved the problem. The links didn’t help at all for that. But I thought: Hey, when there is stuff to minify, why not use a plugin? I already used the plugin Merge + Minify + Refresh, but that doesn’t minify html. So I switched to Autoptimize. It minifies these inline style tags. Problem solved.

Post count: 76

Thank you Maggo. Such a shame we couldn’t get that kind of support from the developers and I will try this plugin and revert back. thank you once again although I’m now looking at alternate page builders!

Post count: 35449

Hi ToniLaird,

Sorry for the inconvenience for the moment the Autoptimize plugin is not tested with our theme, therefore we can not recommend it, but to be sure that these problems will be avoid I’ll ad this plugin on our list for testing and I hope will be supported in coming updates.

Thank you for your understanding and sorry for the inconvenience!

Post count: 76

Hi Calin – This has been a ver confusing time with Newspaper and not receiving the support we used to get. We are still confused about your ‘standard pack’!

As per one post:

If you have experience with WordPress and Newspaper Theme and plan to create a blazing fast website, then the Standard Pack plugin is not the best choice. You’ll achieve your goals easier using the Newspaper Theme with tgaDiv Cloud Library and tagDiv Composer to create a website that loads only the necessary code to make it perfect, just as you design it.

So do we disable it or enable it? When I disable it nothing breaks!

Post count: 41

Just from my experience: If you disable it and nothing breaks, leave it disabled. Then you have built your website like it has to be according to Newspaper 10. When it is disabled, you have the speed advantage that comes with Newspaper 10.

The confusing part is that they advertise the Standard Pack as a Premium Plugin while it is just a necessary plugin if someone wants to keep the “old” websites alive, that were made with old Newspaper versions.

So just a weird move from the markting department 😉

Post count: 35449

Hi ToniLaird,

Maggo explained very well how this plugin is working, the standard pack is for the old customers and for these that want to have and standard demo install, but this will load all the style more that the theme/demo need, so if you create a new website, or you use only cloud elements and flex blocks on your website then you can deactivate the standard pack ( also you can replace the block with flex block ) in this way you’ll achieve a better loading speed, because will be loading only the css style that is need for the elements that you are using.

Thank you!

Post count: 76

Thank you Catlin – this has finally cleared it up! 🙂

Post count: 312

I have the same problem, and I can’t resolv it, even with autoptimize.. When I activate “agregate js lines” the problem is solved, but breaks tablets visitors version…

Post count: 35449

Hi EmilienBOURNIGAL,

Please make sure that you do not have there cache plugin install, after that make sure that you config the automatize like this -> https://i.imgur.com/4B1dx01.png this should fix the problem.

Let me know the results!
Thank you!

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