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)
-   -   HELLCAT's Realtime Page Compressor (https://vborg.vbsupport.ru/showthread.php?t=106333)

BillP 02-15-2006 09:20 PM

OK, to be fair, I loaded some larger pages and the size difference is higher, ~25% I am seeing now.

This has got to be a gzip issue, as the page size changed from 19K down to 6K, but the stats from this product said it was from 162K to 125K.

Hmmmmm.....

BillP 02-15-2006 09:37 PM

Well, it's gotta be something to do with the gzip capabilities of Apache. Firefoxs numbers are way too low. I did a "wget" of the page with HELLCAT's compressor turned off and on, and the real data is 5x what firefox reports.

If you are using Gzip, the real difference is not going to be as big as you would think from looking at these numbers. And you are just trading off CPU utilization in mod_gzip for cpu utilization in Hellcat's compressor.

BUT, the resulting file is smaller at browswer, which is still a good thing.

Akagi 02-16-2006 12:07 AM

clicks install..:D installation couldnt be easier!

armagan 02-16-2006 01:27 PM

[page compression: 23.05 k/27.93 k (17.48%)]
[page compression: 120.00 k/140.53 k (14.61%)] :)

Smiry Kin's 02-16-2006 05:49 PM

Quote:

Originally Posted by tgreer
Installed. One minor glitch:https://vborg.vbsupport.ru/external/2006/02/2.png

See the little "-->" HTML close comment thingie? Is that a problem in your code, or perhaps mine?

ermm looks like yours dude?

uninstall it, is it still there?

emin3m 02-16-2006 07:24 PM

thanx GOD ur removing comments on global_complete, cz i replace stuff in parse_template
AWESOME MOD

emin3m 02-16-2006 08:16 PM

replace
Code:

$output = preg_replace('/>[\s]+</', "> <" ,$output );
with
Code:

$output = preg_replace('/>[\s]+</', "><" ,$output );
save more :D
1%-3%

Hellcat 02-16-2006 11:26 PM

Quote:

Originally Posted by tgreer
Yep, the problem is with nested HTML comments.

Evidently, you capture the first "-->" to end the comment, so anything else, including the real final "-->" is html-encoded and added to the response stream.

Deleting the internal comment-blocks solved the issue, but it might be something you look at.

I will look at this and make an update! :up:



Quote:

Originally Posted by emin3m
replace
Code:

$output = preg_replace('/>[\s]+</', "> <" ,$output );
with
Code:

$output = preg_replace('/>[\s]+</', "><" ,$output );
save more :D
1%-3%

Only problem here is this WILL break certain spots of your style since intentional spaces are cut out as well!
That's why I added the space, see a few pages earlier. :)

MR-2ZZ 02-17-2006 04:03 AM

Installed...

14% average!

Sculli 02-18-2006 06:41 PM

Excellent product, sorry you got bunched into a HotM competition with eBux/eStore, if it weren't for those you'd be taking the crown this month! ;)


All times are GMT. The time now is 10:02 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.01272 seconds
  • Memory Usage 1,740KB
  • 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
  • (3)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