473,405 Members | 2,176 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Compress the code of .aspx files

I need to improve the download speed for an asp.net 2.0 application.
So I'd like to compress the dimension of the .aspx pages.
These pages don't have any images or heavy element.
The most long text of the pages is the javascript code that is
automatically inserted on the pages by the .net.

How can i compress these files?

Sep 8 '06 #1
3 1938
Put the JavaScript into an external .js file.

--
HTH,

Kevin Spencer
Microsoft MVP
Chicken Salad Surgery

What You Seek Is What You Get.

"dust" <ti***@tizianarosati.itwrote in message
news:11**********************@m73g2000cwd.googlegr oups.com...
>I need to improve the download speed for an asp.net 2.0 application.
So I'd like to compress the dimension of the .aspx pages.
These pages don't have any images or heavy element.
The most long text of the pages is the javascript code that is
automatically inserted on the pages by the .net.

How can i compress these files?

Sep 8 '06 #2
Pesonally, I never leave home without my compression modules, both of which
are free.

For 1.x I use Ben Lowery's
(http://www.blowery.org/code/HttpCompressionModule.html)
For 2.x I use Richard's Crane
(http://www.gotdotnet.com/Workspaces/...8-9b533eadb66b)

you need to join the workspace to be able to download it (i hate gotdotnet).
I see well over 50% compression with either (the 2nd one handles axd files
much better)

Karl

--
http://www.openmymind.net/
http://www.fuelindustries.com/
"dust" <ti***@tizianarosati.itwrote in message
news:11**********************@m73g2000cwd.googlegr oups.com...
>I need to improve the download speed for an asp.net 2.0 application.
So I'd like to compress the dimension of the .aspx pages.
These pages don't have any images or heavy element.
The most long text of the pages is the javascript code that is
automatically inserted on the pages by the .net.

How can i compress these files?

Sep 8 '06 #3
Can i use it with the Blazer Browser of a PalmOS?

Karl Seguin [MVP] ha scritto:
Pesonally, I never leave home without my compression modules, both of which
are free.

For 1.x I use Ben Lowery's
(http://www.blowery.org/code/HttpCompressionModule.html)
For 2.x I use Richard's Crane
(http://www.gotdotnet.com/Workspaces/...8-9b533eadb66b)

you need to join the workspace to be able to download it (i hate gotdotnet).
I see well over 50% compression with either (the 2nd one handles axd files
much better)

Karl

--
http://www.openmymind.net/
http://www.fuelindustries.com/
"dust" <ti***@tizianarosati.itwrote in message
news:11**********************@m73g2000cwd.googlegr oups.com...
I need to improve the download speed for an asp.net 2.0 application.
So I'd like to compress the dimension of the .aspx pages.
These pages don't have any images or heavy element.
The most long text of the pages is the javascript code that is
automatically inserted on the pages by the .net.

How can i compress these files?
Sep 13 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Tony | last post by:
Hello, Any assistance would be appreciated: As the subject suggests I am trying to gunzip files using the Compress::Zlib module. The following is basically the code that I am working with: ...
5
by: ad | last post by:
I used use SharpZipLib to compress files in disk. But now I want to compress stream into another stream in memory(the stream not associated with disk file) My pseudo is: Stream...
6
by: יוני גולדברג | last post by:
Hi, Does anybody know some good free control to zip file (compress files to zip library)? Thanks.
2
by: ad | last post by:
I want to compress two fies in server (c:\data\mine.mdf, mine_log.ldf) into a files and copy the a specific folder in client. How can I do that?
10
by: Fredrik Melin | last post by:
I need suggestions on tools to compress dot net EXE's (its ridiculos how large they are..) I have a licenced copy of thinstall, but its old and have some bugs in it, unfortunally they seems to...
8
by: Jose L. Velazquez | last post by:
Hi all, I have made a webservice that returns an XML, but sometimes the connection is so slow and there is a lot of data to be returned. I would like to know if it is possible to send this data...
5
by: Oenone | last post by:
This may be a bit of a long shot... I've been working with the excellent new ReportView libraries in VS2005. Until this afternoon I've been extremely happy with everything I've seen them do....
6
by: Champika Nirosh | last post by:
Hi, I have two machine where I needed to have a extended TCP/IP protocol to make the link between the two machines Mean,I need to write a application that compress every data the machine send...
1
by: =?Utf-8?B?U2NobWVuZ3k2OQ==?= | last post by:
Hopefully someone can help with this query. I have searched the internet and no other occurence of this problem seems to appear so I must be unique in some way... OS : XP Media Center I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.