some feedback;
1. what are the exact errors being shown (you only listed the files)?
2. make sure to disable WPFC’s minification when using AO, as using 2 plugins to minify can cause conflicts (you can keep on using WPFC as page cache off course)
3. you might need to disable the minification of excluded javascript with below code snippet (this will be an option in the upcoming AO25);
add_filter('autoptimize_filter_js_minify_excluded','__return_false');
frank
Im so confused right now.
I’ve tried it again and somehow it works now – i again disabled Try-Catch-Block and it works …
If i enable “Try-Catch-Block” theres shown 1 Error:
Uncaught SyntaxError: Unexpected end of input autoptimize_4d01405f2291989bddb766ce1be4da2e.js:23
If i disable it, everything works fine.
I doublechecked if my WPFC also minify’s my CSS and JS and indeed it did. But for now theres no difference between it being enabled or disabled ….
But i would like to turn “Try-Catch-Block” on because without my page speed has only a score of 87 ( before it hat 95-97)
-
This reply was modified 7 years, 2 months ago by
sur1337.
-
This reply was modified 7 years, 2 months ago by
sur1337.
-
This reply was modified 7 years, 2 months ago by
sur1337.
they fact that your pagespeed score is better with try/catch on is pure luck, as try/catch is really only meant to be used in case of problems and is in fact known to slow your page’s performance down.
regarding using WPFC minify & AO at the same time; it _can_ work, but it often results in weird, inconsistent issues. you have been warned 😉
frank