File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes Compressing page content Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Compressing page content" Watch "Compressing page content" New topic

Compressing page content

Rajiv Babu

Joined: Nov 23, 2004
Posts: 12
Hi all,

Often I wonder how certain sites like gmail manage to compress what the user sees when he does a "view source". How is this achieved? Any pointers to this would be great.

Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
they are not hiding/compressing code....

<frameset rows='100%,*' border=0><frame name=main src=/gmail/html/loading.html frameborder=0 noresize scrolling=no><frame name=js src=/gmail?view=page&name=js&ver=------------ frameborder=0 noresize></frameset>

Graham Thorpe
Ranch Hand

Joined: Mar 25, 2002
Posts: 265
They are using filter concept
I agree. Here's the link:
subject: Compressing page content
It's not a secret anymore!