aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes mock question regarding caching Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "mock question regarding caching" Watch "mock question regarding caching" New topic
Author

mock question regarding caching

pradeep singh
Ranch Hand

Joined: Oct 23, 2007
Posts: 339
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 ]

SCJP 5.0(75%), SCWCD 5.0(88%)
Paul Anilprem
Enthuware Software Support
Ranch Hand

Joined: Sep 23, 2000
Posts: 3312
    
    7
Hi Pradeep,
This question doesn't seem to be from our Simulator. Can you please post question id?

thanks,
Paul.


Enthuware - Best Mock Exams and Questions for Oracle/Sun Java Certifications
Quality Guaranteed - Pass or Full Refund!
pradeep singh
Ranch Hand

Joined: Oct 23, 2007
Posts: 339
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

Joined: Nov 24, 2005
Posts: 14688
    
  16

That would be nice if you could give us the exact source of your mocks.


[My Blog]
All roads lead to JavaRanch
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

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

Joined: Oct 23, 2007
Posts: 339
Hi
Thankx seetharaman venkatasamy .But let me know what is it?explain me in detail if you can?
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

use below link for more details

http://www.15seconds.com/issue/970920.htm
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: mock question regarding caching