InstantASP Community Forums
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        


Diminishing the File Size of Forum... Expand / Collapse
Author
Message
Posted 27/02/2006 21:42:50
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 03/03/2006 17:13:19
Posts: 15, Visits: 27
I'd like to see the file size of the forum's HTML pages shrunk quite a bit.

On my site, for example, here are some page sizes:
Topic details page, with 16 replies: 171kb
Forum page with list of perhaps 20 topics: 87kb
Home page: 78kb

I was raised like a good little web developer to always try to keep your page weight under 30kb. Perhaps that's a bit extreme, but it's good to have rules, because then you have to justify breaking them. It's important to remember that there are still a lot of dialup folks out there... having to wait 171kb/4kb/sec=42 seconds to load a page seems a bit extreme.

Thoughts?

_eric

Post #10210
Posted 27/02/2006 22:00:05
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Customers
Last Login: 15/06/2006 15:30:05
Posts: 19, Visits: 95
I'd like to second this request. Many of the ID= tags that are generated by the .NET controls are huge strings. Is there any way to shrink them?

Also, eschlange, you may want to looking XCompress if you have your own dedicated server and a little processor time to spare. I run it on my Win2003 web server and it's worth its weight in gold, IMO. It's kept us from needing to expand our bandwidth. It will take a 500k forum page in InstantForum and compress it down to 37k on the fly for most modern browsers. Your site will appear many times faster to your users.

Post #10212
Posted 28/02/2006 10:38:59
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 03/03/2006 17:13:19
Posts: 15, Visits: 27
At this point, I'm trying to use less CPU... :-)

http://support.instantasp.co.uk/Topic10180-59-1.aspx#bm10216

But if I can figure out how to reduce CPU usage, perhaps I'll look into XCompress.

_eric

Post #10217
Posted 28/02/2006 11:08:26


Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Customers
Last Login: 19/11/2007 22:07:59
Posts: 161, Visits: 2,483
I thought IF had a compression feature built-in?  Haven't messed with it much, though.  i.e. Look at the bottom of the pages here:

Powered By InstantForum.NET v4.1.2 © 2006
Execution: 0.141. 7 queries. Compression Disabled.

Anyway, compression isn't going to happen without more processing...no real way around that.


Al Bsharah
Free Stores - http://www.aholics.com
Post #10218
Posted 28/02/2006 11:15:20
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Customers
Last Login: 15/06/2006 15:30:05
Posts: 19, Visits: 95
I've tested the IF compression vs. XCompress for IIS version 3.0. Yes IF does do compression but only appears to save about 30% - 40% of the page size. That's pretty good but XCompress is very impressive.

Just one note, if you do try XCompress be sure to disable compression for the captchaimage.aspx page. If compression is enabled on this page the random character string doesn't appear.

Post #10219
Posted 28/02/2006 21:59:13
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: 11/06/2006 17:13:03
Posts: 20, Visits: 91
Why use XCompress when IIS6.0 and ever 5.0 ships with compression built in? It works just as well, and costs nothing to deploy.
Post #10228
Posted 28/02/2006 22:49:27
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Customers
Last Login: 15/06/2006 15:30:05
Posts: 19, Visits: 95
The compression built into IIS6 is OK but cumbersome to manage. IIS5 compression is useless and basically didn't work for anything but static files. (no asp, aspx, php, etc.)


I use Xcompress on IIS6 simply because I used it on my old IIS5 server. Now I've got lots of pages in various sites that use the XCompress COM interface for various functions so upgrading was a no-brainer for me. It was cheaper to stick with xcompress then re-write those pages.

Post #10229
Posted 01/03/2006 23:16:00
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Customers
Last Login: 15/06/2006 15:30:05
Posts: 19, Visits: 95
If you're going to use XCompress be sure to disable the IF compression and whitespace features. No sense adding the overhead of compressing twice.

Post #10243
« Prev Topic | Next Topic »

Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ryan Healey, Mark Christianson, Bare, James Trott

Permissions Expand / Collapse

All times are GMT, Time now is 5:51pm

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.125. 10 queries. Compression Disabled.
Home | Products | Purchase | Support | Company | Contact Us
Privacy Statement | © 1999-2007 InstantASP Limited. All Rights Reserved.