![]() |
Two screen shots to confirm no issue with advanced editor or spacing issues with post titles.
|
Quote:
I have tested this on 3.5.3, before the plugin, in titles adding 10 extra spaces in between two words on a new post title, the extra spacing was stripped away by default. This addon is not the cause as far as i can tell. Added Note: Want to thank ShiningArcanine & Logican for their work, great mod and good savings for the site. |
these are the results of my experiments with the code... this one doesnt break anything and ill see if i can figure out a way to make it not bust javascript
PHP Code:
|
Works good, but kills javascript roll overs in my headers. :disappointed:
|
The solution to the paragraph bug is to alter the regular expression in such a way that newline characters appearing between textarea tags are left untouched.
I leave this as an exercise for the reader. :) |
Quote:
|
Works great on 3.5.3 Install
|
Quote:
[Output: 177.75 Kb. compressed to 148.49 Kb. by saving 29.27 Kb. (16.46%)] Forumhome [Output: 121.07 Kb. compressed to 115.58 Kb. by saving 5.49 Kb. (4.53%)] CMPS [Output: 260.35 Kb. compressed to 244.70 Kb. by saving 15.64 Kb. (6.01%)] Forum Thread [Output: 139.21 Kb. compressed to 134.20 Kb. by saving 5.01 Kb. (3.60%)] VB Gallery Home [Output: 205.49 Kb. compressed to 203.91 Kb. by saving 1.59 Kb. (0.77%)] Links Directory |
As in the original XML: CMPS: [Output: 67.37 Kb. compressed to 66.30 Kb. by saving 1.07 Kb. (1.59%)]
Index: [Output: 81.60 Kb. compressed to 79.29 Kb. by saving 2.31 Kb. (2.83%)] Forumdisplay: [Output: 104.74 Kb. compressed to 98.30 Kb. by saving 6.44 Kb. (6.15%)] And now with this added: Code:
$output=preg_replace ('/<!-- .*? -->/',"",$output); Index: [Output: 81.83 Kb. CMP 76.14 Kb. Net 5.69 Kb. (6.95%)] Forumdisplay: [Output: 99.72 Kb. CMP 90.69 Kb. Net 9.03 Kb. (9.05%)] Stripping the comments works really, really well. No bugs at all in 3.5.3 with plenty of mods. One thing I wouldn't mind seeing added is something that keeps a running tally of the total compressed kB savings. It'd be great to know at the end of the month just how much this is saving me. Also being able to only display this to admins would be ultimate. I'd strip the output code altogther, but I'm way too much of a dork to go without it. :D Quick math for http://www.sevenstring.org Average hits per day over the last week: 220880 Avg hits * 9.05k savings: 1998964 Average bandwith savings over 30 days: 1.90636 GB Solid mod. Thanks much. [high]* Club3G clicks install[/high] |
Bah, spoke too soon. Also have the paragraph bug. ;(
|
All times are GMT. The time now is 07:43 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|