Is it possible to disable ChronoengineGcore2 JS/CSS files in front end?

mapme 08 Jun, 2020
I am looking to increase page load time and Google has indicated that there are lots of JS/CSS files linked to Chronoforms that are slowing the page load time down.
Looking at the results, many of the files are related to semantic JS and CSS... none of which I require for the forms I am using.

I am only using Chronoforms to load various PHP scripts on the page so the JS/CSS are not required... there is never a visible front end result for any of the forms.

In CF4 it was possible to disable all CF4 files from loading at a form level... is something like this possible for CF6?

Thanks a lot.
mapme 08 Jun, 2020
Should have explained better... the concern is the various JS/CSS files that are loaded by Chronoforms 6 are slowing the site down. These files are loaded via the ChronoengineGcore2 plugin that is packaged with Chronoforms on install.

Google Page Speed Index with ChronoengineGcore2 disabled (through the chronoengine_gcore2.php file)
Desktop: 87/100
Mobile: 63/100
I'm relatively pleased with that.

However, when the ChronoengineGcore2 plugin is fully enabled and the Semantic JS/CSS files are loaded (unnecessarily in my case)
Desktop: 73/100
Mobile: 41/100

That's a huge drop in page speed index based on these files, hence the wish to unload them for my CF requirements.

Is it possible to disable from
mapme 08 Jun, 2020
These are the problem files:
<link href="https://<<sitename>>/libraries/cegcore2/assets/semantic-ui/reset.inline.min.css" rel="stylesheet" />
<link href="https://<<sitename>>/libraries/cegcore2/assets/semantic-ui/site.inline.min.css" rel="stylesheet" />
<link href="https://<<sitename>>/libraries/cegcore2/assets/semantic-ui/semantic.min.css" rel="stylesheet" />
<link href="https://<<sitename>>/libraries/cegcore2/assets/semantic-ui/text.css" rel="stylesheet" />
<link href="https://<<sitename>>/libraries/cegcore2/assets/semantic-ui/fixes.semantic.css" rel="stylesheet" />
<script src="https://<<sitename>>/libraries/cegcore2/assets/semantic-ui/semantic.min.js"></script>
<script src="https://<<sitename>>/libraries/cegcore2/assets/js/g2.js"></script>
<script src="https://<<sitename>>/libraries/cegcore2/assets/js/g2.boot.js"></script>
Max_admin 08 Jun, 2020
do you have GZip compression enabled on your website ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
mapme 08 Jun, 2020
Hi max,

Thanks for the response.
GZip is set up within the .htaccess. The Joomla config setting for GZip has no effect on the site so htaccess works well.

Would it be possible to enable the ChronoengineGcore2 plugin when I am working in the CF6 backend, and then disable it when I'm done? My thinking is that if I can comment out the error message in chronoengine_gcore2.php when it isn't loading then I should be okay? I guess what i'm hoping for is that the plugin isn't needed for my forms but is needed for the designer/administrator area.
healyhatman 09 Jun, 2020
<script src="https://<<sitename>>/libraries/cegcore2/assets/semantic-ui/semantic.min.js"></script><script src="https://<<sitename>>/libraries/cegcore2/assets/js/g2.js"></script><script src="https://<<sitename>>/libraries/cegcore2/assets/js/g2.boot.js"></script>

If you get rid of those, forms won't submit, events won't fire, and validation won't work.
Max_admin 09 Jun, 2020
Also the latest v7 beta5 calls only 1 css file if you want to give that a try
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.