vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Board Optimization - Page Output Compression - Whitespace stripper. (https://vborg.vbsupport.ru/showthread.php?t=69787)

buro9 11-19-2004 01:22 PM

Quote:

Originally Posted by MickDoneDee
Hi buro9, I can live without the pre tags but I do need to use the code tags to display tables properly. Is that possible? Or does the code tags present the same problems as the pre tags?

Precisely the same problem.

Doable... but then it's more intensive and I personally wouldn't want have added something intensive to every page.

Robert9 11-20-2004 09:10 AM

yo,yo. Nice idea, but why dont improve the code itself. If i watch the code of templates there is about 30% to save i think. Nobody needs things like

cellpadding="0" if cellpadding=0 do the same; for a lot of other parts it goes the same ...

Natch 11-20-2004 11:12 AM

Quote:

Originally Posted by Robert9
yo,yo. Nice idea, but why dont improve the code itself. If i watch the code of templates there is about 30% to save i think. Nobody needs things like

cellpadding="0" if cellpadding=0 do the same; for a lot of other parts it goes the same ...

Not exactly true: cellpadding=0 is not valid, cellpadding='0' and cellpadding="0" are the same, but cellpadding=0 is not...

Example, <img src=image name.jpg alt=an image on my webpage border=0> << very bad...

buro9 11-21-2004 06:39 AM

Yup, because for it to be XHTML valid, all attributes MUST be quoted regardless of datatype of value (i.e. even if it is a number, or a string without spaces, it still needs quoting).

And of course, feel free to modify all of your code, and then you will see why vBulletin left some pieces of styling and spacing within HTML and not CSS... compatibility for CSS is still shakey for those not using the very latest browsers (still shakey for some that are using the latest browsers).

blueuniverse 11-23-2004 07:00 PM

Am I missing something, as you've mentioned both lite and extreme versions? I only see one at the beginning of the thread, is this the lite version? I've probably missed something and looked like a fool, lol :p

blueuniverse 11-27-2004 06:55 PM

Anybody??? Am I doomed to suffer from slow loading times and bloated bandwidth usage forever. Noooooooo

Paul M 11-27-2004 07:01 PM

Quote:

Originally Posted by blueuniverse
Anybody??? Am I doomed to suffer from slow loading times and bloated bandwidth usage forever. Noooooooo

Use the version in post 65. :)

blueuniverse 11-27-2004 07:21 PM

what exactly does that do though in comparison to the other one?

Paul M 11-27-2004 11:26 PM

Which other one ?

That is basically the final version that people came up with - it uses the more agressive stripping except for the listed scripts, where it uses the 'lite' version.

NightWalk8r 11-27-2004 11:42 PM

Kick a$$!!!!!!
great hack =)


All times are GMT. The time now is 12:50 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.03620 seconds
  • Memory Usage 1,733KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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