vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Add-On Releases - YSLOW 1.0.3 (Make Your Forum Faster) (https://vborg.vbsupport.ru/showthread.php?t=178286)

ramsayeg 05-06-2008 08:56 PM

Seems to work well, thanks!

Update - uhh, Cyb's chatbox doesn't seem to load after I load this mod. Anyone got a solution?

peterpigman 05-06-2008 10:02 PM

This does work, ty.

PossumX 05-06-2008 10:37 PM

Interesting. It is markedly faster with this leetle tweak.

<<Installed>>

Will keep an eye on it and see if there are issues in any browsers my members are using.

unitedpunjab 05-06-2008 11:52 PM

Nice hack, but I think expire timeout of a month is too high, A day or a week would be better.

lostguy 05-06-2008 11:58 PM

im IE user and seem the loading faster then before ! vb3.7.0 user

dvsDave 05-07-2008 12:12 AM

also installed and got a marked improvement ( I can't see it cause I have FIOS :) , but some of my other members have already reported a noticeable decrease in load time)

KHALIK 05-07-2008 12:16 AM

installed and nominated.

my forum is using vb3.7.0 gold + seo 3.10 gold

Gsmdenis 05-07-2008 01:37 AM

Use this take ur own risk , i did not make test

1. apache


Code:

RewriteRule ^/(.*\.)v[0-9.]+\.(css|js|gif|png|jpg)$ /$1$2 [L,E=VERSIONED_FILE:1]

2.And the redir.php

Open found this :

PHP Code:

# output a mediatype header
switch ($_REQUEST['type']){
  case 
'css':
    
header("Content-type: text/css");
    break;
  case 
'js' :
    
header("Content-type: text/javascript");


change it to :

PHP Code:

# output a mediatype header
$ext array_pop(explode('.'$_GET[path]));
switch (
$ext){
  case 
'css':
    
header("Content-type: text/css");
    break;
  case 
'js' :
    
header("Content-type: text/javascript");
    break;
  case 
'gif':
    
header("Content-type: image/gif");
    break;
  case 
'jpg':
    
header("Content-type: image/jpeg");
    break;
  case 
'png':
    
header("Content-type: image/png");
    break;
  default:
    
header("Content-type: text/plain");


3. .htaccess


Code:

RewriteRule ^(.*)(js|css)$ redir.php?path=$1$2&type=$2 [L]

to :


Code:

RewriteRule ^/(.*\.)v[0-9.]+\.(css|js|gif|png|jpg)$  /redir.php?path=$1$2  [L]
Header add "Expires" "Mon, 07 May 2015 23:30:00 GMT" env=VERSIONED_FILE
Header add "Cache-Control" "max-age=315360000" env=VERSIONED_FILE

:)

BR.,

Denis

M-Tuning 05-07-2008 09:18 AM

What does it do GSMdenis?

klaush 05-07-2008 09:34 AM

Works fine in FF, in IE7 you canĀ“t use the windows for setting links und graphics in the editor.

Any idea?


All times are GMT. The time now is 08:00 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01457 seconds
  • Memory Usage 1,742KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete