Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

mock question regarding caching

 
pradeep singh
Ranch Hand
Posts: 339
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Question 1.Can I as a programmer prevent the caching of page in client browser ?
a>caching can be prevented.
b> caching can not be prevented ,it is not in hand of programmer.
c> no caching normally occurs in browsers
d> none of these.

I want to know what is the answer and why?
What is caching and how it use?Please anybody explain me in detail?



Sourc:Enthware
[ June 02, 2008: Message edited by: pradeep singh ]
 
Paul Anilprem
Enthuware Software Support
Ranch Hand
Posts: 3817
10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Pradeep,
This question doesn't seem to be from our Simulator. Can you please post question id?

thanks,
Paul.
 
pradeep singh
Ranch Hand
Posts: 339
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
You may be right .I dont know exactly whether it is from enthuware or online free mock exam or from manning kit or from others.But i have noted it during exam preparation for asking later to someone.
Please give me answer for it.


I dont know exactly from where i noted these but i am doing preparation from these stuff which i have :HFSJ 1.4 ,Manning kit,Enthuware kit and some time also do free online exams .So i dont know exactly from where i noted down these questions.
I make notes while preparing and also mark against them to ask later to someone like on javaranch if i am unable to understand that question.

Sorry for writing source:enthuware because it seems me that it may be from that.

[ June 02, 2008: Message edited by: pradeep singh ]
[ June 02, 2008: Message edited by: Christophe Verre ]
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That would be nice if you could give us the exact source of your mocks.
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Answare is a>caching can be prevented.

you can prevent using below tags
-------------------------------------------------------------
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
----------------------------------------------------------
 
pradeep singh
Ranch Hand
Posts: 339
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Thankx seetharaman venkatasamy .But let me know what is it?explain me in detail if you can?
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
use below link for more details

http://www.15seconds.com/issue/970920.htm
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic