Page 2 of 2 FirstFirst 1 2
Results 16 to 23 of 23
Like Tree2Likes

Has anyone utilized CSS image sprites?

This is a discussion on Has anyone utilized CSS image sprites? within the General Discussion forums, part of the vBulletin SEO Discussion category; well, you wouldn't want to put everything in one file - the idea is to put more commonly accessed files ...

  1. #16
    Senior Member
    Real Name
    John
    Join Date
    Dec 2005
    Posts
    762
    Liked
    30 times
    well, you wouldn't want to put everything in one file - the idea is to put more commonly accessed files in one image file so there are less server requests and images are effectively downloaded in parallel instead of one after another. There's no need to download every image if the page doesn't use that image. Regardless, the vbulletin icon, smiley, and other image system wouldn't easily support sprites without modifying some things.

  2. #17
    Member
    Real Name
    neo
    Join Date
    Oct 2008
    Posts
    85
    Liked
    1 times
    Quote Originally Posted by Mert Gökçeimam View Post
    You can set it within httpd.conf or .htaccess

    Following rules will work
    Code:
    <IfModule mod_expires.c>
    ExpiresActive on
    ExpiresByType image/jpg "access plus 7 days"
    ExpiresByType image/gif "access plus 7 days"
    ExpiresByType image/jpeg "access plus 7 days"
    ExpiresByType image/png "access plus 7 days"
    ExpiresByType text/css "access plus 72 hours"
    ExpiresDefault "access plus 24 hours"
    </IfModule>
    If you add these to httpd.conf , just tail access_log and visit same page twice. On your second visit you'll receive httpd status 304 for cached files

    Any instructions on how to achieve this on a Windows IIS7 server?

    Thanks

  3. #18
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    in your web.config’s system.webServer section

    Code:
    <configuration>
         <location path="/">
           <system.webserver>    
             <caching>
               <profiles>
                 <add varybyquerystring="*"location="Any" duration="24:00:00" policy="CacheForTimePeriod" extension=".gif">
    ########- extra here for more file types ###########
               </profiles>
        </caching>
           </system.webserver>
       </location>
    </configuration>

  4. #19
    Junior Member
    Real Name
    Mooff
    Join Date
    Jul 2008
    Posts
    7
    Liked
    0 times
    In reply to the original question:
    "Has anyone utilized CSS image sprites?"

    Yes, we did. You'll find a vB4 addon here:
    United-Forum CSS Sprites - vBulletin.org Forum

    features:
    - fully automated sprite and css definition creation based on your forum style
    - improved our Page Speed Online from 77/100 to 96/100 (version 0.6.0) on FORUMHOME
    - http requests down to 16 from ~55
    - page load time down to 0.67s from 2.11s (my connection - numbers will differ)

    livedemo:
    United-Forum (> 2.000.000 posts - sprites running in every style)


    Regards Mooff

  5. #20
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    Is there a vb3 version? I think a lot of big board owners, including myself, are still running vb3.
    jarod likes this.
    Brian Cummiskey / Crawlability Inc.
    Security vbulletin - Patch Level for all supported versions released!

    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  6. #21
    Junior Member
    Real Name
    Mooff
    Join Date
    Jul 2008
    Posts
    7
    Liked
    0 times
    Unfortunately not. :( We do not own a vb3 board anymore and the addon makes use of the vb4 stylevar system.

  7. #22
    Junior Member Osbes's Avatar
    Real Name
    Osbes
    Join Date
    Jun 2008
    Posts
    11
    Liked
    0 times
    If someone wants to port our addon to vBulletin 3.8.x, we will appreciate it.

    But you are not allowed to charge money for the addon and the branding needs to be intact (but you can extend it).

    So if someone wants to port our addon to vBulletin 3.8.x, feel free to do it, we (and i think the vBulletin community) will glady help.

  8. #23
    Member
    Real Name
    Aaron Dev
    Join Date
    Mar 2011
    Posts
    72
    Liked
    2 times
    Mooff that's a seriously impressive accomplishment. Consider your mod tagged for future consideration.

    This goes against my own frugal instincts, but if the final release lives up to what you're promising then I think there are more than a few webmasters who would be willing to pay (a small fee) for something like this. (if that doesn't work, you can license the code to Internet Brands).

    In all seriousness, IB's justification for reneging on the promise of a fully sprited vb4 – that it's "too complicated for the average user" – seems a few hundred pixels thinner now.

    In any event here's another handy tool for spriting. Should be part of any admin's survival kit, along with SEOQuake, FireBug, etc.:

    SpriteMe

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. how to set attachment image?
    By jskoh in forum General Discussion
    Replies: 9
    Last Post: 04-07-2009, 03:26 PM
  2. Do image ads pay more?
    By Arkidas in forum Ad Networks
    Replies: 4
    Last Post: 07-26-2008, 01:05 PM
  3. New adsense image
    By Mike in forum Ad Networks
    Replies: 6
    Last Post: 04-07-2007, 05:50 PM
  4. Image gone?
    By Chad in forum Troubleshooting
    Replies: 8
    Last Post: 10-13-2006, 11:57 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •