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)

Hellcat 01-26-2006 04:10 AM

Quote:

Originally Posted by Chris-777
One thing that'd be nice to add is a switch in the ACP for "show to admins only" that would toggle the conditional. I'm a total geek about this stuff and I like to see it all, but my members are mostly saying "What the heck is that stuff down below?" :D

That could be done.
Noted for the next update :)


Quote:

Originally Posted by Zia
but asking... this one remove white spcace....
& realtime temp. compressor...compress maybe not remove white space...
can u modify it...bit more........
something similliar two in one....

Not sure if I'm getting you there....
What do you want to be able to turn ON/OFF?
Making striping leading whitespace as option?


Quote:

Originally Posted by XtAzY
nice but i like the compression for the first release, the new update one decreases very slightly

its prob because my css is used externally

That's weird.
Shouldn't have any effect if the CSS are external....
Do you have comments with "[" in it? 'cause those are left allone now to asure AnyMedia will not screwed up.
(I'm trying to do a better RegEx for that anyway....)

Lizard King 01-26-2006 04:27 AM

Quote:

Originally Posted by Hellcat
That could be done.
Noted for the next update :)



Not sure if I'm getting you there....
What do you want to be able to turn ON/OFF?
Making striping leading whitespace as option?



That's weird.
Shouldn't have any effect if the CSS are external....
Do you have comments with "[" in it? 'cause those are left allone now to asure AnyMedia will not screwed up.
(I'm trying to do a better RegEx for that anyway....)

I also have my CSS external so i think currently there is a problem.

99SIVTEC 01-26-2006 05:17 AM

the css is posted when the headinclude variable is parsed which should be before this outputs?

Hellcat 01-26-2006 07:29 AM

Quote:

Originally Posted by 99SIVTEC
the css is posted when the headinclude variable is parsed which should be before this outputs?

Yep.
The compressor kicks in when all parsing and HTML building is done, just before the actual output is send to the browser.

I also put the CSS on my test system into external files -> no problem there.
Still getting good results. (around ~13%).


Quote:

Originally Posted by XtAzY
nice but i like the compression for the first release, the new update one decreases very slightly

By looking at the code changes the only explanation I have for this is the comments containing "[" - I'd guess you have some of those.... have you?


@Lizard King
By looking at the source of your pages it looks like they ARE propperly compressed.
There's no whitespace, linebreaks or comments left that are supposed to go.

Maybe only the DISPLAY is of.... :confused:

Could that be caused by vbSEO???
With the 1.00 everthing was fine?

It's getting more and more weird....
But I'm still on it!

Lizard King 01-26-2006 07:33 AM

Quote:

Originally Posted by Hellcat
Yep.
The compressor kicks in when all parsing and HTML building is done, just before the actual output is send to the browser.

I also put the CSS on my test system into external files -> no problem there.
Still getting good results. (around ~13%).



By looking at the code changes the only explanation I have for this is the comments containing "[" - I'd guess you have some of those.... have you?


@Lizard King
By looking at the source of your pages it looks like they ARE propperly compressed.
There's no whitespace, linebreaks or comments left that are supposed to go.

Maybe only the DISPLAY is of.... :confused:

Could that be caused by vbSEO???
With the 1.00 everthing was fine?

It's getting more and more weird....
But I'm still on it!

I will probably upgrade vbseo today. While the upgrade process , i will disable vbseo and check if the problem is about vbseo but the first version worked pretty good with me. If you still have the first version i may try with it also.

Hellcat 01-26-2006 07:40 AM

Attached is the previous version:

Martin 01-26-2006 08:02 AM

7-19%

excellent job :)

Snatch 01-26-2006 09:01 AM

Great Job 7-17%

Hellcat 01-26-2006 09:11 AM

Quote:

Originally Posted by Hellcat
By looking at the code changes the only explanation I have for this is the comments containing "[" - I'd guess you have some of those.... have you?

HAAA HAAA
I think I found the reason for the slight drop....
During my last experiments I hit F5 a thousand times (OK, a few times less than 1000 ;)) and with the same page reloading (and no changes to the code in the meantime) the ratio went a bit down and up again.

vB seems to put the one or the other linebreak or comment more into the page's source from time to time.

So, nothin' to worry about a percent drop, it'll come back soon ;)

klaush 01-26-2006 09:38 AM

Great, great, great!!!

Thanks a lot!


All times are GMT. The time now is 03:31 AM.

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.01166 seconds
  • Memory Usage 1,745KB
  • 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
  • (8)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