MyBB Community Forums
[Pushed] Loading of css3.css - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Development (https://community.mybb.com/forum-161.html)
+--- Forum: MyBB 1.8 Development (https://community.mybb.com/forum-165.html)
+---- Forum: 1.8 Bugs and Issues (https://community.mybb.com/forum-157.html)
+----- Forum: Pushed (https://community.mybb.com/forum-183.html)
+----- Thread: [Pushed] Loading of css3.css (/thread-169131.html)



Loading of css3.css - LucasC - 2015-03-31

Whenever css3.css stylesheet is empty, it is still loaded by the browser. Since we can't remove it from the theme's stylesheet-list(only revert it), wouldn't it be better to check if the file wasn't empty, then add it to the list of stylesheets to be loaded. 

There would be less trips to the server that way. 


(Why did you(the team) even decide to keep all css3 code in a separate file)


RE: Loading of css3.css - Destroy666 - 2015-06-27

I can confirm, it's annoying. The only way around it is attaching the stylesheet to a non-existent page. I think admins should be able to stop the automatic inheritance of unused stylesheets with a more user-friendly option.


RE: Loading of css3.css - Jones H - 2015-06-27

This doesn't only apply to css3 - it should be checked for all stylesheets and only non-empty ones should be included.


RE: Loading of css3.css - Jones H - 2015-06-28

Hi,

Thank you for your report. We have pushed this issue to our Github repository for further analysis where you can track our commits and progress with fixing this bug. Discussions regarding this bug may also take place there too.

Follow this link to visit the issue on Github: https://github.com/mybb/mybb/issues/2108

Thanks for contributing to MyBB!

Regards,
The MyBB Group