473,395 Members | 1,653 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,395 software developers and data experts.

GZip - Javascript code

Hello,

Can I use a JS file which was compressed with GZip in my Asp.Net
project?

What should I do to be able to use it?

Thanks,
Miguel

Oct 30 '07 #1
4 4412
shapper wrote:
Hello,

Can I use a JS file which was compressed with GZip in my Asp.Net
project?

What should I do to be able to use it?

Thanks,
Miguel
Unzip it.

Use winrar.

--
Mick Walker
Software Engineer

http://www.mick-walker.co.uk
Oct 30 '07 #2
Hello shapper,

see there
http://www.codeproject.com/aspnet/httpcompression.asp http://www.codeproject.com/csharp/JSCompress.asp
---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
sHello,
s>
sCan I use a JS file which was compressed with GZip in my Asp.Net
sproject?
s>
sWhat should I do to be able to use it?
s>
sThanks,
sMiguel
Oct 30 '07 #3
Depends on your browser/webserver combination. AFAIK most browsers are
supporting gzip compression and some servers should be able to serve then
compressed files.

For IIS try around :
http://www.microsoft.com/technet/pro....mspx?mfr=true

--
Patrice
"shapper" <md*****@gmail.coma écrit dans le message de news:
11**********************@o3g2000hsb.googlegroups.c om...
Hello,

Can I use a JS file which was compressed with GZip in my Asp.Net
project?

What should I do to be able to use it?

Thanks,
Miguel

Oct 30 '07 #4
On Oct 30, 11:41 am, Michael Nemtsev, MVP <nemt...@msn.comwrote:
Hello shapper,

see therehttp://www.codeproject.com/aspnet/httpcompression.asphttp://www.codeproject.com/csharp/JSCompress.asp

---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog:http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

sHello,
s>
sCan I use a JS file which was compressed with GZip in my Asp.Net
sproject?
s>
sWhat should I do to be able to use it?
s>
sThanks,
sMiguel
Hi,

Thanks!
I am working with ASP.NET 3.5 AJAX projects.

I was considering using a Javascript Library like JQuery or Prototype.

I didn't know if I could use their gzipped javascript files.

What do you think of using these libraries?

Any opinion would be great.

Thanks,

Miguel

Oct 30 '07 #5

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

Similar topics

3
by: rohisingh | last post by:
I have a tar file. The content of the file are as following. rohits@sandman 12-08-04 $ tar tvf 20041208.tar drwxr-xr-x root/root 0 2004-12-08 21:39:19 20041208/ -rw-r--r-- root/root ...
25
by: Xah Lee | last post by:
Python Doc Problem Example: gzip Xah Lee, 20050831 Today i need to use Python to compress/decompress gzip files. Since i've read the official Python tutorial 8 months ago, have spent 30...
14
by: Bill | last post by:
I've written a small program that, in part, reads in a file and parses it. Sometimes, the file is gzipped. The code that I use to get the file object is like so: if filename.endswith(".gz"):...
4
by: Aidan | last post by:
Hi, I'm having a bit of trouble with a python script I wrote, though I'm not sure if it's related directly to python, or one of the other software packages... The situation is that I'm trying...
6
by: Giorgio Parmeggiani | last post by:
Hi I'm using the gzip compression found in WCG samples kit. It works well, but how can I set the SendTimeout and ReceiveTimeout parameters? Thank in advance Giorgio
1
Unicron
by: Unicron | last post by:
Hi folks, I couldn't find any posts about this issue- I am using Firebug to examine my page loading. When I call a large JS file, it gets downloaded once and then shows as being cached the next...
0
by: Gabriel Genellina | last post by:
En Wed, 19 Nov 2008 13:25:03 -0200, Barak, Ron <Ron.Barak@lsi.com> escribió: Note *where* the exception is raised. Until something is actually read, no check is made for the file format. --...
0
by: Barak, Ron | last post by:
Thanks Gabriel, Okay, I get it: I was under the impression that the format check would be done on the open. Bye, Ron. -----Original Message----- From: Gabriel Genellina Sent: Thursday,...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...

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.