• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

applets in browser receiving gzipped content

 
Stephen Huey
Ranch Hand
Posts: 618
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://www.onjava.com/pub/a/onjava/2003/11/19/filters.html

The above article says that most modern web browsers can automatically unzip gzipped content (so apparently it's a good practice to GZIP as much content as you can before it travels to your client's web browser). What if my client's browser is running an applet on my site, though?

Does anyone know if the browser will unzip the content before the applet has to deal with it, or will the applet have to unzip it?
 
Joe Ess
Bartender
Posts: 9337
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My guess would be that if an applet requests content, the request bypasses the browser and is done directly from the VM. The standard Java API provides classes in java.util.zip to work with compressed data.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic