Fragment caching ??

G

Guest

Dear all,

I have heard and read that fragment caching is used to cache a part of a web
page in order to get remaining items vivible on the page.
For example if a database querry is quite long, we create a web user control
and cache that control. Which will means that during the querry process
remaining page control will be visible while the querry gets executed.

Then what happen if let say the querry takes more than 1 minutes to return
the result and during that time the user browse to an other page in the same
application.

Does the current executing querry will be aborted ?
Does the current querry will still executing but return value will be send
back no where?

thanks for wour reply
regards

serge
 
R

Rick Strahl [MVP]

Serge,

That's not really fragment caching...

I think you're simply wanting some sort of progress mechanism. There are a
number of ways to accomplish this from simple UI tricks of displaying some
sort of animation, to actually loading the page nad retrieving the content
you need to retrieve separately and loading it into the current page (AJAX
style data retrievals and page updates).

+++ Rick ---
--

Rick Strahl
West Wind Technologies
www.west-wind.com
www.west-wind.com/weblog
 
G

Guest

hi rick,

I am preparing for my asp exam and trying to understand what is happeneing
In fact in one question of my simulation exams, is was mentionning that if
you want the controls on the current page remains visible to the user while
the querry is executed, you need to creat a web user control whcih take car
of the querry and cache that control on the page directive

what do you think about it ?

That is why I was wondering what happen to the querry process if during that
time the user jump to another page

regards
serge
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,708
Latest member
SherleneF1

Latest Threads

Top