Customizing SMF > Mod Requests

CSS Sprites (or Page-loading Speed Optimizer) Mod

<< < (2/3) > >>

MiY4Gi:

--- Quote from: vbgamer45 on July 30, 2011, 07:34:45 PM ---I thought about writing a speed mod for SMF which basically takes in account many of the optimizations tips provided on the forums and then some other additions that I think would be helpful just haven't had the time to do it.

--- End quote ---

That would be great. You should probably have a look at WEBO Site Speedup to get more ideas of what optimization would be useful on the forum.

Mudlark:

--- Quote from: Antechinus on July 30, 2011, 03:15:28 AM ---SMF 2.0 does use some sprites by default. More can easily be added for custom work (I usually use them in custom theming, etc). We'll be making more extensive use of sprites in 2.1, but there are some things you cannot use them for. Smileys are one thing, since smileys are added individually on an ad hoc basis and are therefore not amenable to being made into sprites.

Minification is handy, but the gains aren't as much as you might expect. For instance, minifying the default 2.0 index.css only saves around 10% of the byte count. That amounts to 5 or 6 kb. Given that one avatar can easily be 30 kb, or even a lot more, saving 5 kb on a css file will not result in a noticeable change in page load speed.

--- End quote ---

Sorry to drag this out of the depths but...

I've been notified by my host that they will no longer auto back up my site because I have exceeded 50,000 files - yes that is files not bytes. Size  of the files has become immaterial as it now seems to be the number of files that count so reducing a set of smileys  from, say, 50 images to one will save a lot more than 10% and yes it hxxp:xenforo.com/community/threads/smilies-as-css-sprites.20121/ [nonactive]...

Marcus Forsberg:

--- Quote from: Mudlark on May 20, 2012, 07:25:19 AM ---and yes it can be done...

--- End quote ---

Now that' just awesome, I must say. That interface. Just awesome!

Dzonny:

--- Quote from: Marcus Forsberg on May 20, 2012, 07:38:22 AM ---
--- Quote from: Mudlark on May 20, 2012, 07:25:19 AM ---and yes it can be done...

--- End quote ---

Now that' just awesome, I must say. That interface. Just awesome!

--- End quote ---
+1, i didn't knew that smileys can be loaded from sprite image. Great idea though! :)

Arantor:
If you're doing sprited smileys, you either have to do unanimated ones, or put them all into one huge animation (which has performance issues attached)

And I should note that putting smileys into sprites pretty much precludes users adding individual ones after.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version