473,500 Members | 1,748 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Fragment caching ??

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
Nov 27 '05 #1
2 1157
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

"serge calderara" <se************@discussions.microsoft.com> wrote in
message news:B5**********************************@microsof t.com...
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

Nov 28 '05 #2
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

"Rick Strahl [MVP]" wrote:
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

"serge calderara" <se************@discussions.microsoft.com> wrote in
message news:B5**********************************@microsof t.com...
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


Nov 28 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
1799
by: Stuart Baker | last post by:
I just added session support to a web site and the URL's that contain a #fragment no longer function. Is there a delimiter that I can add following the #fragment that will tell the browser that the...
0
1045
by: quique | last post by:
Hi I,m gonna explain my scenario problem: I've got an user control that i want to cache in diferent pages attending to the value of a parameter x, to make t possible i put the next directive in...
0
1725
by: Troy Simpson | last post by:
Hi, I have a website which is made up of dynamic pages. Each page that's loaded has some code which looks at which template to load amongst other things, which causes the page to take a little...
3
2463
by: DC | last post by:
Hi, (ASP.Net 1.1) is it possible to (programmatically and globally) deactivate page fragment caching? We have only two scenarios, development stage where we want caching off and testing where we...
0
1114
by: Ed | last post by:
Hi all, Have a strange situation regarding fragment caching. I've read the docs and kbs on this so it's either I've missed some key aspect of the implementation or there is a "gotcha" here that...
1
1236
by: sam | last post by:
Hi, I know fragment caching where you can use a cached user control in a non-cached page (or the opposite) But without using a user control, how can I cache just a part of my page (two...
3
2066
by: Gustaf | last post by:
I'm trying to grasp this little passage from the XBRL spec: "The xlink:href attribute MUST be a URI. The URI MUST point to an XML document or to one or more XML fragments within an XML document....
0
1113
by: Ben Fidge | last post by:
I'm trying to use ASP.NET 2.0's Menu control in a UserControl with fragment cahcing but it doesn't work. This UserControl and menu combination make up my sites left hand navigation and is database...
0
980
by: Jens | last post by:
Hello, I've created a user control with fragment caching: <%@ OutputCache Duration="43200" VaryByParam="none" %> <% =now() %> In my local environment (PC with Visual Webdeveloper 2005) the...
0
7136
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7018
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7182
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6906
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7397
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4923
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3110
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1430
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
316
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.