473,770 Members | 1,948 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 1177
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.mi crosoft.com> wrote in
message news:B5******** *************** ***********@mic rosoft.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.mi crosoft.com> wrote in
message news:B5******** *************** ***********@mic rosoft.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
1815
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 SID information is not part of the #fragment? Thanks in advance. Stuart Baker
0
1061
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 the definition of the control <%@ OutputCache Duration="50" VaryByParam="x"%> I,ve got two pages (page1in and page2in) that submits to
0
1741
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 while to be processed. At the moment I have programmatic page caching in the "loader" using paramater caching to send a cached version of every requested page back to the user. How can I get particular elements inside each page to cache without...
3
2489
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 want caching on. Is this doable? I think there is a config switch in 2.0, anything in 1.1? TIA for any hint,
0
1139
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 isn't described in these resources (kb/docs). Brief: -----
1
1247
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 datatables) but not the rest of the page ?
3
2078
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. If the URI is relative, it MUST be resolved to obtain an absolute URI as specified in XML Base specification ." I guess they really mean "URI reference" and not "URI" in the formal sense. But anyway, consider this document:
0
1128
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 driven so would make sense to use output caching to reduce load. The menu changes very rarely. For some reason though, the "fly-out" dynamic menus (1 level) don't work properly with cachign enabled. I can click one of the sub-menus but on the...
0
992
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 caching of the control doesn't work because the displayed time is updated each time I refresh the page.
0
9618
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9454
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10259
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10101
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8933
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7456
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5482
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4007
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 we have to send another system
3
2849
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.