Some standard modules always include CSS and JS files and there is no way to prevent this.
- We don't want your CSS and JS in front end.
- We need full control over what is rendered in front end.
- Your CSS and JS is invalid and not minfied.
- Your CSS and JS results in more HTTP requests, which is bad for performance.
As an example the Forum module always includes /Files/Templates/BasicForum/Styles.css even if "Ignore all module js and css when using designs and layouts" is activated in Management Center.
I reported this as a bug, but got a reply from Lars Britz where he refers to the manual where it says:
"Enable this option to ignore module code that is unnecessary when using designs and layouts".
According to Lars, the Styles.css included by Forum is not "unnecessary".
How can any CSS file be necessary?! Please explain.
Anyway...
It would be great if we were able to prevent all standard modules from including CSS/JS in front end - but still be able to include our own files using the CSS/JS file selectors on the paragraph module tab.
/Morten