Buy Questpond's video subscriptions on
huge discount
.
Online: 2138
Home
Articles
Interviews
Forums
For Beginners
Popular Questions
ITIL Career Advice
PMP Career Advice
Career Advices
Codes
Videos
ASP.NET
ASP.NET MVC
Android Intel XDK
Sql Server
AngularJS
Bootstrap
Backbone.JS
MongoDB
LESS (CSS)
jQuery
WPF
WWF
SSIS
LightSwitch
Tutorials
News
ASP.NET MVC
|
Be Interview Ready
|
Top Performers
|
DNF MVP
|
Top Posts
|
Winners
|
Subscribe
|
Catalogs
Welcome Guest !
Register
Login
Home
>
Interviews
>
ASP.NET
>
Loading ...
Can you cache a web page on the basis of stylesheets?
Posted by
Ddd
on 3/22/2011 | Category:
ASP.NET Interview questions
| Views: 4688 |
Points: 40
Post
|
Interview FAQs
|
Exclusive Questions
|
Interview Home
Answer:
Yes, we can cache a web page on the basis of stylesheets.
Use the
VaryByCustom
attribute in the OutputCachde directive
example:
<%@ OutputCache Duration="1000" VaryByParam="None" VaryByCustom="css" %>
|
Alert Moderator
Bookmark It
< Previous :
Can we use the Throws clause to raise an exception ...
Next > :
Where does caching of a UserControl occur?
Comments or Responses
Posted by:
Akiii
on: 3/23/2011 |
Points: 10
@Ddd .....
Can you describe a bit what do you mean by this question.....?
Thanks and Regards
Akiii
Posted by:
Ddd
on: 3/23/2011 |
Points: 10
The question is about Caching which can be controlled through a number of
parameters which can be a variable, object, querystring, browser, css etc.
According to the directive,if the stylesheet is applied on a web page, its
effect should not change for the specified duration when some other style
is applied during that duration.
I hope it is fine.
Thanks,
Ddd.
Posted by:
Akiii
on: 3/23/2011 |
Points: 10
thanks for the reply...
i want to try this.....
do you have any code or can you tell me how to test what u have told me ??
Thanks for your help
Akiii
Posted by:
Webmaster
on: 3/23/2011 |
Points: 10
Akii,
Please do not ask these types of questions in the responses of the Interview Questions. Please use Forums section
http://www.dotnetfunda.com/forums/
for any kind of question or discussion on related topic.
Thanks
Posted by:
Akiii
on: 3/23/2011 |
Points: 10
@webmaster....
i am extremely sorry if i have broke any rule...
i will not post anything......
Akiii
Posted by:
Chvrsri
on: 3/23/2011 |
Points: 10
Dear Akiii,
I just want to remind you it is not a rule.It is more like a practice which makes every thing look organized.Hope you take it in a positive way.
Posted by:
Akiii
on: 3/23/2011 |
Points: 10
No No, i mean i will not post my questions here, i will post those elsewhere as suggested by webmaster....
Sorry....
Akiii
Login to post response
More Interview Questions by Ddd
Where does caching of a UserControl occur?
How can you prevent data to be removed from Cache when memory becomes ...
Which of these objects must be there when storing data in a disconnect ...
Can we save ViewState on the server side?
What is RedirectPermanent?
Difference between a Layer and Tier?
How can we display check boxes in a List View control?
What is x:Code?
Latest Interview Questions
What is the use of Diffgram ?
What are VSDISCO files and what is the use of it ?
How to restrict a class not to be inherited.?
What is SAX ?
A Worker agreeing to finish a work in 150 days, employed 75 men each ...
Is there any Supplement of exit() method or quitting a C# application ...
How can we sort elements in an array in descending order ?
What is an INDEXER in c# ?
More ...