Which js files should be excluded from cache plugins like Autoptimize so it works properly?
I've excluded tinymce.min.js but attachments don't work
I excluded the assets folder, attachments still weren't working. I excluded the entire plugin folder and attachments weren't working. Finally it started working properly when I excluded the theme js folder. I assume because attachments and the theme use the same js file
Started from wpForo 1.5.4 when you install a brand new wpForo it detects Autoptimize and automatically adds this TiniMCE JS file in Autoptimize plugin exclude list. In addition if somehow the JS is not added, you can find instruction and error report in Dashboard > Forums > Tools > Debug > Error & Issues:
Please navigate to Settings > Autoptimize > Main Tab, click on top right [Show advanced settings] button, find "Exclude scripts from Autoptimize" option, add this JS path ,wp-includes/js/tinymce
, than click on [Save Changes and Empty Cache] button bellow.