Click here to Skip to main content
15,884,176 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HI All,

I have developed a web application of around 20 pages i want to cache my my application for 15 minutes so that if user required to change there entries on any page they can change it and at the same time many user can access the application and tell me how can i use the caching for user controls.

Any help will be appreciated.
Thanks
Posted

You might find this useful http://www.codeproject.com/Articles/334277/A-Beginner-s-Tutorial-on-Caching-in-ASP-NET
 
Share this answer
 
First of all, your question is not clear. What do you mean by "I want to cache my application"?

1. If you mean "to cache the web pages containing forms, so your can re-submit his data", (in my opinion) it's a BAD idea. It would be a good idea if your application is stateless (i.e. given an input, application always returns the same output, irrespective of previous inputs). But if your application is a stateful application (i.e. your output depends on other inputs as well, so same output may yield different results from time to time) caching will lead to race conditions[^].

2. If you mean something similar to automatic filling out of forms, it is very intelligently done by modern browsers, and I don't think you have to worry about it.

I do not know if this answers your question. Please try rewording your question if this does not answer. And if your intent is similar to point 1 I described above, in my opinion, you need to reconsider your design.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900