Hi all,

I have unique problem.
I have 3 pages - i didnt use any response.setHeader("Cache-Control",
"no-cache"); etc like in my JSP !!

in page-1 i enter search query, page-2 shows search results with
dynamic getJSON getting called for more data -- ie., it will have some
info + this dynamic data which will be calculated in page-2. when i
click on more it will take me to page-3 with queryid, and show more
details ...

so when i come to page-2 frm page-3 using history.back(), history.go
(-1) etc., that page is again hitting server using (getJSON fn).

i used

 $. getJSON (options.statusCheckURL, {
                                        queryId : options.qid,
                                        messageId : options.msgId,
                                        assetId : options.aid,
                                         cache: true
                                }, function(data) {
                                        receiveStatusData(data);
                                },"json");

Help me in this regard, so that i can load page-2 from cache instead
of hitting server. i didnt have any $.ready() function in the code..

-Ganesh :)

Reply via email to