Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 CSS or speedball?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

kyodai
New Member

Azerbaijan
74 Posts

Posted - 03 March 2011 :  07:44:36  Show Profile  Reply with Quote
Well with around 2 GB of pure asp traffic a day you reach that state where you think about saving some bandwidth to improve performance.

Obviously shortening page filenames, parameters and killing unnecessary blanksspace/tabs will not be a lot, so the only thing left that would really help is CSS.


I know that "Speedball" or "Speedball II" mods used CSS to save bandwidth, but unfortunately all links are dead. I wanted to take a peek into this to see how it was implemented.


Does anyone here still have speedball realted files or know a mirror? Or any other tips about snitz and CSS?

AnonJr
Moderator

United States
5768 Posts

Posted - 03 March 2011 :  13:49:08  Show Profile  Visit AnonJr's Homepage  Reply with Quote
Even then that version used a much older code base - aside from the CSS, the only other changes were removing all the vbNewLine's that were used to make the code easier to read (saves bandwidth, made trouble-shooting worlds harder until [IE8's dev bar|Firebug|Chrome's dev tools]), and any extraneous whitespace that was used to indent the generated HTML was deleted.

The latter two (removing whitespace and un-needed vbNewLine's {not all are un-needed]) can be taken care of in fairly short order.

I've been trying to work on a CSS'd version of the current code base, but the project has stalled. I've been swamped at work for some time now and almost all of my side projects have suffered. =/
Go to Top of Page

kyodai
New Member

Azerbaijan
74 Posts

Posted - 03 March 2011 :  16:36:45  Show Profile  Reply with Quote
i already removed all unnecessary spaces, tabs and vbNewline, but thats not really saving a lot. I can't implement Speedball II anyways as i have so many customizations its impossible. I just wanted to take a look at it how it's done as i would like to mimic that at least for default,forum and topic as these 3 pages consume like 98% of my bandwidth. If anyone has speedball or any other CSS related snitz mod/hack then i would love to look at it, but so far all links i found are dead.
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 03 March 2011 :  20:15:04  Show Profile  Visit AnonJr's Homepage  Reply with Quote
How much bandwidth are we talking about and what kind of page weight? Which pages are we talking about? There may be some other temporary changes to at least hold you over until someone can dig up a link or two.

I suspect I still have a copy of the Speedball code around somewhere, but its been a long while since I last worked with it - as I mentioned, it uses a very old version of Snitz and was never patched in step with the main code after 3.4.04 or somewhere thereabouts.
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 04 March 2011 :  02:28:49  Show Profile  Visit HuwR's Homepage  Reply with Quote
are we talking about the site linked as your home site kyodai ? if so your bandwidth problem is image related not snitz code related, you have a 150kb background image and lots of large images in your topics that are also pretty large

when I opened a random topic, it sent me > 900Kb of images the actual topic page itself is only about 70Kb

MVC .net dev/test site | MVC .net running on Raspberry Pi
Go to Top of Page

kyodai
New Member

Azerbaijan
74 Posts

Posted - 04 March 2011 :  07:27:04  Show Profile  Reply with Quote
The current bandwidth use is around 50 GB pure asp (HTML) per month. I don't care how old the speedball implementation is, i just wanna look at how it's approached as a basic example, with my many mods i can't just roll it out anyways.

Yeah it's my main page - hiddenbelow.com. I am not talking about the images, i don't really have issues with these. I could disable the background, but as the images are cached by all modern browsers they aren't really a problem, mainly it's the default.asp, topic.asp and forum.asp that i would like to implement CSS on as from my estimation these could save prolly around 40% i guess with css.
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 04 March 2011 :  11:05:34  Show Profile  Reply with Quote
quote:
Originally posted by kyodai
Obviously shortening page filenames, parameters and killing unnecessary blanksspace/tabs will not be a lot ...
You'd be surprised just how much you can actually save with those tricks


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

kyodai
New Member

Azerbaijan
74 Posts

Posted - 04 March 2011 :  11:18:11  Show Profile  Reply with Quote
No I'm actually not surprised as i already did it nearly to the max. I mean yeah reducing size from like 140K to 137 K is better than nothing in the long run, but i think with CSS i can save significantly more bandwidth and especially speed up loading the page. Really noone having a copy of speedball or any other CSS related mod around? Anything would help...
Go to Top of Page

cripto9t
Average Member

USA
881 Posts

Posted - 04 March 2011 :  13:36:08  Show Profile  Reply with Quote
There's a private message mod converted to Speedball at Snitz Bitz. It doesn't show much except for the simple class names.

I experimented with converting snitz to css a long while back. It won't take long to knock those 3 pages out, but the first thing you have to do is change the font size to something css can use like pixels or points. then define the font family, size and color in the body.
"body {font-family:" & strDefaultFontFace & ";font-size:" & strDefaultFontSize & ";color:" & strDefaultFontColor & ";}"

Jobs half over right there . Add the background colors to the <tr> tags instead of the <td> tags.

    _-/Cripto9t\-_
Go to Top of Page

kyodai
New Member

Azerbaijan
74 Posts

Posted - 04 March 2011 :  18:53:46  Show Profile  Reply with Quote
Do you still have your CSS experiment? I'd really like to take a look at least on one page and the matching css file. I really just have zero experience with this and it would save me a lot of studying. The font tip sounds good so far but i lack the knowledge to practically make anything out of it yet... =/
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 05 March 2011 :  02:21:55  Show Profile  Visit HuwR's Homepage  Reply with Quote
quote:
Originally posted by kyodai

The current bandwidth use is around 50 GB pure asp (HTML) per month. I don't care how old the speedball implementation is, i just wanna look at how it's approached as a basic example, with my many mods i can't just roll it out anyways.

Yeah it's my main page - hiddenbelow.com. I am not talking about the images, i don't really have issues with these. I could disable the background, but as the images are cached by all modern browsers they aren't really a problem, mainly it's the default.asp, topic.asp and forum.asp that i would like to implement CSS on as from my estimation these could save prolly around 40% i guess with css.


image smay be cached, but every time you open a different topic you get a whole raft of new images in posts and as peoples avatars and some of them are pretty large, turning the snitz code to css would reduce the size of the html, but it would not say 40% of your bandwith, since > 40% of it is from images not html

You could ask your host to enable compression on your site, if you turn that on it would make a huge difference as everything would be compressed for reaching the users browser.

MVC .net dev/test site | MVC .net running on Raspberry Pi
Go to Top of Page

kyodai
New Member

Azerbaijan
74 Posts

Posted - 05 March 2011 :  15:36:27  Show Profile  Reply with Quote
Removing the images is not an option. Most of our skins do not have a background image but i know the default one has one. I want CSS as it does NOT affect the look and feel of the site, it simply saves bandwidth and so i think it is reasonable for EVERYONE to think about it. I know about compression but unfortunately it is not available on my host.
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 09 March 2011 :  11:25:22  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message  Reply with Quote
What is your forum url?

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.22 seconds. Powered By: Snitz Forums 2000 Version 3.4.07