![]() |
sevenstring guitars | sevenstring registry | photo gallery | |||
|
![]() |
![]() |
![]() |
![]() |
![]() |
|
| - Contests, updates, additions & otherwise. If you have problems/suggestions, this is the place as well. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 |
|
metalguitarist.org
![]() Join Date: Apr 2004
Location: Boston, Mass
Posts: 16,619
Real Name: Mr. F. Johnson
Main Seven: Sherman Custom
Main ERG: Douglas 6ST Bass
Rig: 2101 -> S160 -> Mesa
Thanked: 538
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Template compression
If you're wondering why/what the:
[Output: 99.72 Kb. CMP 90.69 Kb. Net 9.03 Kb. (9.05%)] Line is at the bottom of every page, I'm testing out some realtime template compression that strips unneeded whitespaces/characters and totally does away with the display of any commented code on your end. For example, when I edit templates and styles here, I almost always comment out the sections that I'm working on. So if I'm removing 15 lines of code, I usually leave it in the actual code itself, but comment it out so that your browser doesn't execute it. So if you view the page source, while the HTML isn't getting parsed, the text itself is still being sent to you. This compression strips the output on the fly, so you get only the code you need sent to your browser and nothing else. The listing at the bottom is the total output, CMP (compression amount) and the percentage the page you're viewing is down from it's original size. While 9.05% might not seem like much, a wee quick math: Average hits per day over the last week: 220880 Avg hits * 9.05k savings: 1998964 Average bandwith savings over 30 days: 1.90636 GB So in the end, 2GB less traffic coming out = faster pages for all. If you notice any problems, please let me know and I'll see what I can do. The only thing this would "break" per se is text alignment, but since I'm only replacing vBulletin variables, I believe you shouldn't see any odd behavior. For you web geeks, because I know you're out there, here's how I'm doing it: Code:
$page_byte=strlen($output);
$output=preg_replace ('/\r\n(\s*)/', "\r\n", $output);
$output=preg_replace ('/<!-- .*? -->/',"",$output);
|
|
|
|
|
#2 |
|
Go Team Venture!
![]() Join Date: Jul 2004
Location: Bonney Lake, WA.
Posts: 4,322
Main Seven: Ibanez RG1077XL-BK
Thanked: 11
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]() |
|
|
|
|
#3 |
|
{##[====:::.
• Super Moderator •
Join Date: Jul 2004
Location: The Ohio Crew
Posts: 11,750
Main Seven: RG7620 of Doom
Rig: Mesa / Sovtek
Thanked: 78
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]()
I have a radical idea. The door swings both ways,
we could reverse the particle flow through the gate. We'll cross the streams. |
|
|
|
|
#4 |
|
<3's Tsukasa
![]() Join Date: Oct 2005
Location: Virginia, USA
Posts: 16,925
Real Name: Kagami
Main Seven: ESP MH-307
Rig: Randall RG75G2C
Thanked: 206
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Cool, and it makes us look like we know something.
|
|
|
|
|
#5 |
|
metalguitarist.org
![]() Join Date: Apr 2004
Location: Boston, Mass
Posts: 16,619
Real Name: Mr. F. Johnson
Main Seven: Sherman Custom
Main ERG: Douglas 6ST Bass
Rig: 2101 -> S160 -> Mesa
Thanked: 538
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
This is out of the "testing" stage and simply enabled. I've stripped the compression stats from the bottom of the page.
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Know Lots About Compression: | Chris | Recording Studio | 10 | 02-06-2008 03:29 PM |
| Four Page Drum Recording Reference (EQ, Gating, Compression) | Vince | Recording Studio | 37 | 02-01-2008 12:10 PM |
| IMPORTANT QUESTION: RE: FLOYD ROUTING TEMPLATE | TonyFlyingSquirrel | Sevenstring Guitars | 4 | 11-14-2006 01:54 PM |
![]() | |
![]()
![]()
![]()
|
Powered by vBulletin 3.7.3 Copyright ©2000 - 2008, Jelsoft Enterprises Ltd. Search Engine Optimization by vBSEO 3.2.0 "777" Logo © Darren Wilson Privacy Policy Affiliate Links Directory ![]()
|