• Post Reply Bookmark Topic Watch Topic
  • New Topic

about browser cache

 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Bear,
i saw in your JSP FAQ something like below.... it is new to me..
-------------------------------------------------------------------

<meta http-equiv="Expires" content="Sat, 01 Dec 2001 00:00:00 GMT">--->1

-------------------------------------------------------------------

usally i used to write like below
----------------------------------------------------
<meta http-equiv="Expires" content=0>--->2
---------------------------------------------------what is the difference between 1 and 2
[ September 21, 2008: Message edited by: Bear Bibeault ]
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65530
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, it's not my JSP FAQ. The JSP FAQ has been contributed to by many members.

Originally posted by seetharaman venkatasamy:
what is the difference between 1 and 2
One is valid and the other is not.

The invalid value seems to work because all invalid values cause the resource to be considered expired. But this is a side effect and it's bad form to use invalid values to take advantage of a side effect. Better to be explicit and correct.
[ September 21, 2008: Message edited by: Bear Bibeault ]
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you so much Bear
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!