473,545 Members | 2,444 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1952
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***@tizianar osati.itwrote in message
news:11******** **************@ m73g2000cwd.goo glegroups.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***@tizianar osati.itwrote in message
news:11******** **************@ m73g2000cwd.goo glegroups.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***@tizianar osati.itwrote in message
news:11******** **************@ m73g2000cwd.goo glegroups.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
3515
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
12976
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 InputStream; Stream OutPutStream; DataSet1.WriteXml(InputStream);
6
1306
by: יוני גולדברג | last post by:
Hi, Does anybody know some good free control to zip file (compress files to zip library)? Thanks.
2
1283
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
4297
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 have discontinued the support for it, and there new system starts from $10.000. Ouch. There is a opensource tool called NETZ, which sort of works,...
8
6450
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 compressed, and how to do it. Thanks. Jose Luis.
5
2545
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. I've just run into a problem with generating PDF files that contain charts however, as Microsoft apparently ran out of time while working on the PDF...
6
2986
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 out.. and also need to un compress at the receiving end.. futher explaing...
1
2741
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 decided to clean up my hard-drive using Windows System Tools, Disk Cleanup. I had 'Compress old files' selected (on) and when the tool started to...
0
7425
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7682
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7935
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7449
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7780
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5351
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
1
1911
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1037
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
734
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.