Support Forum

simple-press forum has problems with the Autoptimize plugin

SH shahry
shahry
Member

JavaScript compression with Autoptimize plugin is not possible in forum pages and may cause errors or greatly increase loading time

There is a problem with the files bellow:

wp-content/sp-resources/forum-cache/sp-plugin-scripts-desktop-header.js
if Enable combining and caching of forum script (JS) files is checked

or 
wp-content/plugins/simple-press/resources/jscript/sp-common.js
wp-content/plugins/simple-press/forum/resources/jscript/sp-forum-events.js
wp-content/plugins/simple-press/forum/resources/jscript/print-this/printThis.js
if Enable combining and caching of forum script (JS) files is unchecked
The Autoptimize plugin has been installed over a million times and this plugin is efficient. 
Please fix the problem or tell me what to do?

2 Answers

New Answer

SS SP Community Support
SP Community Support
Admin

Hi:

You should exclude the Simple:Press plugins from any JS and CSS optimizations. It will not work otherwise – there are just too many ways for these kinds of “optimizations” to conflict…

Thanks.

SH shahry
shahry
Member

Yes, it certainly is

But I want to optimize Simple Press styles and scripts.

A lot of styles and scripts are loaded in simple press page and all of these styles and scripts need to be merged. But it is not possible and this is a flaw

All other plugins have no problem with compressing styles and scripts. But your plugin has this problem