....
"Jukka K. Korpela" <jk******@cs.tut.fi> wrote in message news:<Xn*****************************@193.229.0.31 >...
- and you may save an HTTP transaction
Well, I think, we are not understanding each other well. I am
actually trying not to have to download -the content- a second time.
For an example of exactly I am trying to avoid:
1._ go:
http://www.javaworld.com/javaworld/j...w-11-hood.html
which includes in its meta tags:
<link rel="stylesheet" type ="text/css" href="/includes/style.css">
2._ Click on "Printer-friendly version" and you will be directed to:
http://www.javaworld.com/javaworld/j...11-hood_p.html
<style type="text/css">
code {font: 110%;}
pre {font: 100%;}
td {font: 90%;}
</style>
The first page renders a navigational bar on the left the second one
none.
But the content itself is downloaded twice from the server. This is
namely what I am trying to avoid.
The only "compatible" way I know of doing this (I am not a designer)
is using frames-based pages. However I am –trying- to use XHTML
strict.
I think I read somewhere if you use <div>s the browser does not
download the enclosed stuff again, but:
1._ I wonder how compliant/cross-browser it is
2._ It sounds a little odd to me, that browsers cache <div>s inside
of the HTML proper as they can cache pictures and other static
content.
Also stretching this idea just a little bit more, you could have
browsers kind of doing CVS work. Only requesting what is new or has
changed within a page . . .
Please, could you clarify this to me?
I need for you to share with me your experience if you have tried to
work around this. "Standards" may or may not be what is happening out
there.
Thanks