Home    Site Stuff    Site Updates
#1

CSS Compression

Archive: 17 posts


I've added a new system to the site that will compress our CSS file on the fly, resulting in much faster page loads for nearly everyone.

For those of you who don't know, CSS is the ying to HTML's yang - they work in correspondence in order to display the page correctly. However, CSS files are usually full of "comments" (notes by the developer of the code to better organize it) and plain white space, all of which takes longer for a browser to sort through in order to get to the relevant stuff. Our CSS compression removes all of that before sending the CSS file to you, leaving only the relevant code for your browser to sort though. The CSS file is about 75% smaller when compressed, meaning you should notice a significant decrease in load times.
2009-05-21 04:48:00

Author:
ConfusedCartman
Posts: 3729


Weird... it just took 3x as long as usual to load a page... It could be my internet, though...2009-05-21 05:12:00

Author:
tjb0607
Posts: 1054


Weird... it just took 3x as long as usual to load a page... It could be my internet, though...
Hmm...keep testing and let me know if you have any further issues.
2009-05-21 05:20:00

Author:
ConfusedCartman
Posts: 3729


It's loading WAY faster for me, thanks for that!2009-05-21 05:48:00

Author:
brnxblze
Posts: 1318


Indeed, even in the PS3 browser the speed increase is quite noticable.
Nice!
2009-05-21 05:51:00

Author:
Silverleon
Posts: 6707


Not only do the pages load faster for me but so do the drop-down menus (I'm using my phone so it usually takes a while to load.) Very nice update!2009-05-21 06:00:00

Author:
brnxblze
Posts: 1318


Glad to hear it! I think I've finally solved the issues with the site's loading speed, so hopefully everyone can use the site on whatever browser they prefer without any further problems.2009-05-21 06:14:00

Author:
ConfusedCartman
Posts: 3729


Nice work, CC! Thank you!2009-05-21 06:18:00

Author:
v0rtex
Posts: 1878


Nice addition. I may well use it when I'm not browsing on my laptop 2009-05-21 06:47:00

Author:
Coxy224
Posts: 2645


Nice addition. I may well use it when I'm not browsing on my laptop
The CSS compression? That's default for everyone. Are you referring to the lite style? There's a thread for that here (https://lbpcentral.lbp-hub.com/index.php?t=t=11776).
2009-05-21 06:51:00

Author:
ConfusedCartman
Posts: 3729


Very nice! My internet varies in speed every minute or so, so in those moments when it is lagging behind a bit, this should increase my posting prowess!2009-05-21 07:14:00

Author:
dawesbr
Posts: 3280


It's always loaded pretty fast for me but it's faster now. Thanks CC!2009-05-21 07:43:00

Author:
Morgana25
Posts: 5983


You sir, must be one of the greatest admins out there!!

The things you changed for the better these last few weeks...
2009-05-21 08:24:00

Author:
Zwollie
Posts: 2173


Great work, I'm always impressed by the updates here.2009-05-21 09:26:00

Author:
Walter-Kovacs
Posts: 542


I didn't realise css loads were that critical - aren't they cached fromthe first page load <link>?

I'll have to look at all my /*---*/ comments on my site!

I've looked at this site in IE7, Chrome and FF and all af them run really well apart from one small thing.

The thread title <div>'s seem to shunt up about 20px, which means that it's having difficulty with this css definition. (only in IE7)-- it might be the margin-top:

The other thing I've noticed is that although the html is loading fast, some of the SQL queries do take a second or two to extract from the MySQL database.. not too much of a problem though as there are obviously loads of php functions running in one page load.

Apart from that, I love the customisation of this forum engine - great job and well moderated!!
2009-06-13 23:34:00

Author:
Rhyfelwr
Posts: 606


I didn't realise css loads were that critical - aren't they cached fromthe first page load <link>?
vBulletin automatically generates a new CSS file every 10 minutes or so in order to account for any changes made in the administrator panel (along with ensuring the CSS file is never named the same thing, for security purposes).
2009-06-14 05:40:00

Author:
ConfusedCartman
Posts: 3729


Awesome, a lot faster, even on Internet Explorer (God forbid). Great job.2009-06-14 14:23:00

Author:
KoRnDawwg
Posts: 1424


LBPCentral Archive Statistics
Posts: 1077139    Threads: 69970    Members: 9661    Archive-Date: 2019-01-19

Datenschutz
Aus dem Archiv wurden alle persönlichen Daten wie Name, Anschrift, Email etc. - aber auch sämtliche Inhalte wie z.B. persönliche Nachrichten - entfernt.
Die Nutzung dieser Webseite erfolgt ohne Speicherung personenbezogener Daten. Es werden keinerlei Cookies, Logs, 3rd-Party-Plugins etc. verwendet.