The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
United-Forum CSS Sprites - ludicrous speed - NOW! Details »» | ||||||||||||||||||||||||||||||||||||||||||||||
United-Forum CSS Sprites - ludicrous speed - NOW!
Developer Last Online: Feb 2013
tl;dr Makes your forum faster.
Want an easy one-click installation for this addon? . Vote for this jira-entry Add on currently is in beta stage When visiting a website, speed is a very important factor not only for users but crawlers as well. Long loading times are a nuisance since your time is basically wasted during the waiting period. Hence, we are trying everything we can in order to speed up our site. One great way to improve loading times is by the use of css sprites. Unfortunately these are not implemented by vBulletin. We therefore decided to develop our own css-sprite add on for vBulletin boards and want to share this code with the worldwide vBulletin community. Live demo The add on is permanently running in our vBulletin board ( > 2.000.000 posts), take a look:vBulletin performance using css sprites Our tests are based on version 0.7.0. We used the analytic tools firebug network utility and the googlelabs.com page speed sitecss sprites - what are they? The intention behind css sprites is the bundling of many small graphics into one large graphic in order to decrease the number of required http requests. This shortens the loading times of the given website. In addition, the the accumulated size of all small graphics is higher than the size of the sprite due to reasons of compression.What is the gain in using css sprites? Aside from the technical implementation, the question on how much one actually does gain by using css sprites is of the most interest. Obviously they decrease loading times - but how important are small loading times and what is the impact on vBulletin overall loading times?Add on features In the current released beta version 0.7.2, sprites are available for FORUMHOME and FORUMDISPLAY. Coming up next SHOWTHREAD.Installation First of all, if you didnt want to change the templates manually, install the Template Modification System (TMS). Now proceed with the installation:
Download Now
Screenshots
Supporters / CoAuthors Show Your Support
|
17 благодарности(ей) от: | ||
archet1337, baktabul, doctorsexy, Fuhrmann, Gnoll, iask, Juggernaut, Kolbi, mathforum, misericorde, neil00027, rodriiverduguez, Skaut, smsma.net, SWSUSA, xorex, yilmaz |
Comments |
#53
|
|||
|
|||
Quote:
I don't understand your super nice help (my english is really poor, sorry for this) and I ask you for extended suggestions |
#54
|
|||
|
|||
Disable attachment rewriting in vbseo. How can you not understand that?
Quote:
|
#56
|
|||
|
|||
Great! Thank you, work perfect!
|
#57
|
|||
|
|||
Hi giorgino,
the commenly wrong assumption when working with nginx is, that every matching location directives will executed. Nginx will in general execute only one location directive. Quote:
Code:
location / { try_files $uri $uri/ @vbseo; } location @vbseo { fastcgi_pass 127.0.0.1:9000; fastcgi_param SCRIPT_FILENAME $document_root/vbseo.php; fastcgi_param QUERY_STRING vbseourl=$request_uri; include fastcgi_params; internal; } location ~ \.(jpg|jpeg|png|gif|ico) { add_header Cache-Control public; add_header Cache-Control must-revalidate; expires 7d; access_log off; } Code:
location ~ \.(jpg|jpeg|png|gif|ico) { add_header Cache-Control public; add_header Cache-Control must-revalidate; expires 7d; access_log off; } So you could either extend your nginx configuration to always use try_files and then call vbseo.php as fallback, or you disable the rewrite of attachments with vbseo. On our Forum we disabled this rewrite, cause the gain of this is - for us - lower than the gain of performance, since using try_files for every file isnt that good. Best regards Sebastian |
#58
|
|||
|
|||
Hi sebastian since you're so kind, I try to take advantage of your expertise.
This is my .conf Code:
server { listen 80; server_name www.mysite.it mysite.it; access_log /var/log/nginx/it.mysite.www.log; error_log /var/log/nginx/err_it.mysite.www.log; root /store1/www/it.mysite.www/doc_root; index index.html index.htm index.php; # # Setup Expire # location ~* \.(jpg|jpeg|gif|css|png|js|ico)$ { root /store1/www/it.mysite.www/doc_root; access_log off; expires 30d; } # # Inizio Direttive per vBulletin/vBSEO # location ~ \.php$ { fastcgi_pass 127.0.0.1:9000; #fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param SCRIPT_FILENAME $document_root/vbseo.php; include fastcgi_params; } location / { rewrite (sitemap_.*\.xml\.gz) /vbseo.php?vbseourl=vbseo_sitemap/vbseo_getsitemap.php&sitemap=$1 last; try_files $uri $uri/ /vbseo.php?$args; } location /vbseo/(includes|resources/html|resources/xml)/ { allow 127.0.0.1; deny all; } location ~ /admincp/ { index index.php index.html; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; if ($uri ~ \.php) { fastcgi_pass 127.0.0.1:9000; } break; } # --- fine } |
#59
|
|||
|
|||
Version 0.6.3 (23.07.2011)
|
#60
|
|||
|
|||
Hi Mooff which template changes from 0.6.2 -> 0.6.3?
How upgrade? Simply overwrite files and rebuild sprites? |
#61
|
|||
|
|||
Hi giorgino,
There are no template changes from 0.6.2 -> 0.6.3. If you want to Upgrade from 0.6.2 -> 0.6.3, simply overwrite files, reinstall the addon (simply upload XML-product file with overwrite) and rebuild sprite. If you want to switch from maually template changes to automatic template changes, there is additional work to be done:
Now your Templates are automatic changed. This will help you in the next versions, since the upcomming template changes will also be done automatically. I would advise to do it now, before more template modification need to be done. Best regards Sebastian PS: I will look into your nginx configuration later |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|