When selecting the states by giving the country as input
using ajax cal, how can we ensure that every time it is
hitting the DB and fetching the data? Many time it may load
from the cache.
Answer Posted / atl
ajax call you can check through fiddler(or any debugger). it will show the request and response clearly.
and also, if the selecting states is an ajax call, then it will never use the cached data.
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What would you use javascript for?
What is the use of let & const in javascript?
In which location cookies are stored on the hard disk?
What is require in javascript?
What and where are the best javascript resources on the web?
What is the need of javascript?
What is the difference between window.onload and ondocumentready?
Explain how can you submit a form using JavaScript?
How do I get javascript?
What are the data types supported by javascript?
Is javascript multi-threaded or single-threaded?
What is the difference between attributes and property?
How would you check if a variable is null/undefined?
What is the difference of "settimeout" function and setinterval functions in javascript
What is event target in javascript?