MyBB Community Forums

Full Version: Speed Up Your Forum
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello!

I will show you how to speed up your forum by compressing your .css files.

Step 1:
Go in Admin CP > Templates & Style > Themes > YOUR THEME > global.css
Back up global.css code!

Step 2:
Copy and paste the code here.

Step 3:
Compression mode: Normal
And press "Compress-it!" button.

Make sure you backed up your global.css code
Step 4:
Replace your global.css code with the compressed code.

Step 5:
Done...

You can do the same with the other .css files, but make sure first you BACK UP them!

Performance - http://wiki.mybb.com/index.php/Performance

Original Thread: http://wb-dev.net/editpost.php?pid=1649

Regards,
WbDev
Nice tutorial WbDev Smile
Thanks!
That's nice but compressing your CSS won't magically speed up your forum. You'd need to optimize images, compress your JavaScript, use sprites for the icons and tons of other things.
I know. But I just give example how you can speed up your forum.
TBH, I'd rather not compress the css stored in the database - it makes editing themes a right pain. I'd far rather pass the css through a cleaner before creating the cache file. In fact, I'm going to try that at some point.