My view-source is very huge! need to shortern

hi, need to convert the view-source inline code to external code! as you see my view-source is very huge!

It load all js and css as inline ! which leads to load more time…

Please give some core fix codes so that my view-source very little!

Thanks!

Hi @guha_b,

Thanks for reaching out.

We don’t have any control over how the script is loaded on your website because some of it is coming from the plugins you installed. I advise you to optimize your website, you can check it here on how to improve your site performance.

Hope that helps.

Thank you.

I have disabled all plugin, just you theme! still it encodes into various js and css as inline! i would like to take all in single external css or js files or something better

Hey @guha_b,

We’re sorry for the confusion but we don’t have a feature to move the inline CSS and JS to external. And, we do not support that and that makes the page slower compared to inline. This is not a bug so there is nothing to fix.

The length of the inline code would only be lengthy if you have lots of elements on your page and have utilized all of the options. By utilizing an option, I mean setting a value of more than 0. For example, you’ve set the Box Shadow option of an element. The box-shadow setup will be part of the code. If you set all Box Shadow options to 0. It will not output in the code so you have less inline code generated by the builder. That is inevitable.

If you want to have little or few inline codes, you need to assign a class to each element and manually code your own CSS. That way, you’re in complete control of the CSS architecture.

If you even want more control, Just add a Content Area element on the page and code your own HTML and CSS.

If you’re not a developer, you will need to install a plugin that will convert all inline codes, not just by our theme but for everything on your site. You can try Autoptimize and see if it has that feature. If not, try other optimization plugins.

Hope that helps and thank you for understanding.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.