Hello!
We’re aware that you follow the guidelines and if understand right, are already minifying files. Speed Optimizer seems to re-minify some of your files and causes JS errors:
(the last error about lottie isn’t related, it remains when minifying is gone)
These files don’t seem to be available when trying to exclude them:
SG suggested we add custom excludes, which I guess would be the right way to deal with this.
add_filter( 'sgo_js_minify_exclude', 'js_minify_exclude' );
function js_minify_exclude( $exclude_list ) {
$exclude_list[] = 'script-handle';
$exclude_list[] = 'script-handle-2';
return $exclude_list;
}
How can we find (or can you provide) the script handles we’d have to exclude?
Would “cs-sliders.min.js” be excluded if we add the handle “cs-sliders”?
If you already have an exclude list about this, it’d be awesome!