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)

tokenyank 05-28-2008 11:09 PM

Reported???

For forcing enduser cache? Something that enduser browsers should do as default? (well, FF and Opera does... But we can't expect IE to work properly... It is Microsoft after all!)

Using a hack that clearly says:
Quote:

Add an Expires header

Adding an Expires header to your components with a date in the future makes them cacheable, reducing the load time of your pages.
Seems as though someone didn't read what this did before installing the modification!!! *tsk tsk*

As to not updating new posts, this hack does nothing to cache dynamic content of your site it only caches images/swf/css etc
Code:

ExpiresActive On
ExpiresByType image/gif A2592000
ExpiresByType image/jpeg A2592000
ExpiresByType image/png A2592000
ExpiresByType application/x-shockwave-flash A2592000
ExpiresByType text/css A2592000
ExpiresByType application/x-javascript A2592000

Nothing in there about cacheing php (or if you are running some SEO mods, html)... And, if you're overly sensitive... If you turn the board off, when you re-enable it, also turn on "no cache" headers in your vb options for a day to force users' browsers to update upon return...

The warning isn't necessary, reporting it shows your nativity, and any of your problems can be solved or are simply imagined.

mariocaz 05-28-2008 11:39 PM

nothing4me are you very sure of that ??

nothing4me 05-28-2008 11:40 PM

Quote:

Originally Posted by tokenyank (Post 1534543)
Reported???

For forcing enduser cache? Something that enduser browsers should do as default? (well, FF and Opera does... But we can't expect IE to work properly... It is Microsoft after all!)

Using a hack that clearly says:


Seems as though someone didn't read what this did before installing the modification!!! *tsk tsk*

As to not updating new posts, this hack does nothing to cache dynamic content of your site it only caches images/swf/css etc
Code:

ExpiresActive On
ExpiresByType image/gif A2592000
ExpiresByType image/jpeg A2592000
ExpiresByType image/png A2592000
ExpiresByType application/x-shockwave-flash A2592000
ExpiresByType text/css A2592000
ExpiresByType application/x-javascript A2592000

Nothing in there about cacheing php (or if you are running some SEO mods, html)... And, if you're overly sensitive... If you turn the board off, when you re-enable it, also turn on "no cache" headers in your vb options for a day to force users' browsers to update upon return...

The warning isn't necessary, reporting it shows your nativity, and any of your problems can be solved or are simply imagined.

Try doing it yourself. The problem persists with IE and FF. One of the settings in this mod is causing the browser to cache the whole thing instead of what it was really supposed to cache. Edit: (I'm guessing the PHP file has something to do with it?)

And I know browsers cache webpages, but they keep it for a short amount of time. This mod increases that time too much. (Look at my 1st paragraph)

nothing4me 05-28-2008 11:41 PM

Quote:

Originally Posted by mariocaz (Post 1534560)
nothing4me aere you very sure of that ??

Yes. I am positive. I have gotten complaints from my users (over 30 complained) after I told them that the site was back up. I was constantly getting "Forum is off" messages at the top of VBulletin too on random pages.

We were talking on MSN etc, so that's how I know. After I removed the mod + asked them to clear their cache, it worked for them and me. (Both FF and IE.)

If you guys don't believe me, just try it yourself.

mariocaz 05-29-2008 12:32 AM

Mmm very bad news because the mod is working very nice in my forum.

I hope the author come here to help us with this.

nothing4me 05-29-2008 12:49 AM

Quote:

Originally Posted by mariocaz (Post 1534591)
Mmm very bad news because the mod is working very nice in my forum.

I hope the author come here to help us with this.

I PM'd him, so I guess we'll wait for a reply. This is a nice mod, just needs some fixing. :(

Marco van Herwaarden 05-29-2008 06:37 AM

Quote:

This hack is reported.
We do not take any action for a modification that does as described: Cache items locally.

tokenyank 05-29-2008 07:27 AM

Quote:

Originally Posted by nothing4me (Post 1534562)
Try doing it yourself.

I have, been using it since I posted my results images... Absolutely no problems and significantly lower page load times in IE (firefox always cached properly, IE7 played silly buggers)
Quote:

Originally Posted by nothing4me (Post 1534562)
Edit: (I'm guessing the PHP file has something to do with it?)

php file only pipes css and js through a gzip routine to compress them.
Code:

switch ($_REQUEST['type']){
  case 'css':
    header("Content-type: text/css");
    break;
  case 'js' :
    header("Content-type: text/javascript");
      break;
  default:
    header("Content-type: text/plain");
}

Again, nothing to do with html or php.

This mod is safe to use and does exactly what it says it does on the tin. If you don't like the time limits lower them.

Change the value (2592000) in .htaccess to something else like:

Code:

#      300  5 MIN
#      600  10 MIN
#      900  15 MIN
#    1800  30 MIN
#    2700  45 MIN
#    3600  1 HR
#    7200  2 HR
#    10800  3 HR
#    14400  4 HR
#    18000  5 HR
#    36000  10 HR
#    39600  11 HR
#    43200  12 HR
#    46800  13 HR
#    50400  14 HR
#    54000  15 HR
#    86400  1 DAY
#  172800  2 DAY
#  259200  3 DAY
#  345600  4 DAY
#  432000  5 DAY
#  518400  6 DAY
#  604800  1 WEEK
#  1209600  2 WEEK
#  1814400  3 WEEK
#  2419200  4 WEEK
#  4838400  2 MONTH
#  7257600  3 MONTH
#  9676800  4 MONTH
# 12096000  5 MONTH
# 14515200  6 MONTH
# 16934400  7 MONTH
# 19353600  8 MONTH
# 21772800  9 MONTH
# 24192000  10 MONTH
# 26611200  11 MONTH
# 29030400  12 MONTH


buileminh 05-29-2008 07:46 AM

Work like a charm with my forums! Great! Installed!

abrecher 05-29-2008 12:44 PM

Works exactly as described on 3.7.1


All times are GMT. The time now is 09:12 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.02876 seconds
  • Memory Usage 1,756KB
  • 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
  • (4)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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