vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Realtime Template Compressor: Reduces page sizes, loads pages faster, saves bandwidth (https://vborg.vbsupport.ru/showthread.php?t=83248)

Yorixz 10-05-2005 01:48 PM

Thanks a lot; up to 9% is still 18gb on 200gb monthly traffic ;)

richard4339 10-06-2005 07:22 PM

I didn't like the wording at the bottom, so I modified it to:

52.24 Kb. compressed to 49.95 Kb. eliminating 2.29 Kb. of data. (4.39% compression)

I know thats not technically a correct statement, but I find it to be more readable. Also, thanks, I like this.

Note: I'm getting 4.39% compression. Must be my intensive forums.

Funchiestz 10-07-2005 07:36 PM

Quote:

Originally Posted by richard4339
I didn't like the wording at the bottom, so I modified it to:

52.24 Kb. compressed to 49.95 Kb. eliminating 2.29 Kb. of data. (4.39% compression)

I know thats not technically a correct statement, but I find it to be more readable. Also, thanks, I like this.

Note: I'm getting 4.39% compression. Must be my intensive forums.

Ehm.. dunt know when i try to active my plugin, i can not press quick reply

i use 3.5 GOLD, can somebody help me?

smokering 10-08-2005 01:50 AM

smokering clicks install and heads off to plug it in plug it in

Neal-UK 10-08-2005 07:55 AM

Quote:

Originally Posted by smokering
smokering clicks install and heads off to plug it in plug it in

appears to be working on vb 3.5 gold

vibe 10-09-2005 06:22 AM

works
thanks

michaelbenson 10-09-2005 09:01 AM

Fantastic i have added the modification in right now, and there certainly seems to be a noticable difference in the load times of especially the forumhome page.

Allan 10-09-2005 09:05 AM

work with vB 3.5 gold ?

piXelatedEmpire 10-09-2005 09:18 AM

Quote:

Originally Posted by Fenriz
I think that you also can remove
Code:

$pagenew_byte=strlen($output);
$page_kilobyte=number_format(($page_byte/1024),2);
$pagenew_kilobyte=number_format(($pagenew_byte/1024),2);
$pagesaved_byte=$page_byte-$pagenew_byte;
$pagesaved_kilobyte=number_format((($pagesaved_byte)/1024),2);
$pagesaved_perc=number_format(((100*$pagesaved_byte)/$page_byte),2);

and leave only
Code:

$page_byte=strlen($output);
$output=preg_replace ('/\r\n(\s*)/', "\r\n", $output);


Has this been confirmed to work? I only ask as the poster said they 'think' you can remove the listed variables...

hotrod1 10-10-2005 01:32 AM

Great hack, thanks!!!


All times are GMT. The time now is 01:08 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.01236 seconds
  • Memory Usage 1,736KB
  • 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
  • (2)bbcode_code_printable
  • (3)bbcode_quote_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