• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

mock question regarding caching

 
Ranch Hand
Posts: 339
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Enthuware Software Support
Posts: 4818
52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That would be nice if you could give us the exact source of your mocks.
 
Ranch Hand
Posts: 5575
Eclipse IDE Windows XP Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 Windows XP Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
use below link for more details

http://www.15seconds.com/issue/970920.htm
 
Is that a spider in your hair? Here, threaten it with this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic