g**********y 发帖数: 14569 | 1 I need to compress data with javascript and send to server.
Option 1: gzip implementation in js, I don't see a good library, and it is
said the performance in pure js is poor.
Option 2: use applet. With JDK 1.6, it has problem when "Next generation
Java plug-in" is enabled.
Any ideas? thx | m******t 发帖数: 2416 | 2 Another option would be one of those flash based file uploaders
which support compression, and, uh, more browser friendly than
applet.
【在 g**********y 的大作中提到】 : I need to compress data with javascript and send to server. : Option 1: gzip implementation in js, I don't see a good library, and it is : said the performance in pure js is poor. : Option 2: use applet. With JDK 1.6, it has problem when "Next generation : Java plug-in" is enabled. : Any ideas? thx
| g**********y 发帖数: 14569 | 3 What I want to compress is some CDATA section of XML, not all of them. Can
those file uploaders handle it?
Any example website?
【在 m******t 的大作中提到】 : Another option would be one of those flash based file uploaders : which support compression, and, uh, more browser friendly than : applet.
| m******t 发帖数: 2416 | 4
That's a different story then. I thought you wanted to upload some huge file
but
for some reason didn't want to use a straight file upload field.
Where does your javascript get so much data if not from a local file? :)
【在 g**********y 的大作中提到】 : What I want to compress is some CDATA section of XML, not all of them. Can : those file uploaders handle it? : Any example website?
| g**********y 发帖数: 14569 | 5 It's not that big, XML file. However, client's terminal is very slow, using
phone line, so compress is crucial.
Anyway, I found the way out: still use applet, but call from js. IE8 fail to
call applet from vbscript, but has no problem to call from javascript. What
an irony!
file
【在 m******t 的大作中提到】 : : That's a different story then. I thought you wanted to upload some huge file : but : for some reason didn't want to use a straight file upload field. : Where does your javascript get so much data if not from a local file? :)
| Z*****Z 发帖数: 723 | 6 赞
using
to
What
【在 g**********y 的大作中提到】 : It's not that big, XML file. However, client's terminal is very slow, using : phone line, so compress is crucial. : Anyway, I found the way out: still use applet, but call from js. IE8 fail to : call applet from vbscript, but has no problem to call from javascript. What : an irony! : : file
| m******t 发帖数: 2416 | 7
using
I'm glad you worked it out, but you do know that modems have had built-in
compression support for the past 15 years?
【在 g**********y 的大作中提到】 : It's not that big, XML file. However, client's terminal is very slow, using : phone line, so compress is crucial. : Anyway, I found the way out: still use applet, but call from js. IE8 fail to : call applet from vbscript, but has no problem to call from javascript. What : an irony! : : file
| g**********y 发帖数: 14569 | 8 Customer want compression, and we HAVE TO make them happy.
Actually I don't know what customer use in their production side. All I know
is that they said it is critical to have that compression feature.
【在 m******t 的大作中提到】 : : using : I'm glad you worked it out, but you do know that modems have had built-in : compression support for the past 15 years?
| m******t 发帖数: 2416 | 9 I hear you... Can't argue with The Customer. :)
know
【在 g**********y 的大作中提到】 : Customer want compression, and we HAVE TO make them happy. : Actually I don't know what customer use in their production side. All I know : is that they said it is critical to have that compression feature.
|
|