Click here to Skip to main content
15,904,348 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi!
Please Provide A Answer
This Is My Question Please Give Me Replay Fast


Thanks
Posted
Comments
Arjsrya 2-Jan-15 5:13am    
Could you explain your question little bit further? Where do you get the data? from user or any database?

How long are you wanna store temporarily?
Jameel VM 2-Jan-15 6:17am    
use HTTPCache
Arjsrya 2-Jan-15 6:26am    
This cache is temprory right.
Jameel VM 4-Jan-15 11:16am    
Yes

1 solution

If the data is not too huge, then you can take advantage of HTML5 Local storage.
HTML5 Storage[^]
Else
store the data in a viewbag, and mention the OutPutCache attribute on the action method. This also allows you to set the duration to store the data in cache. You can take advantage of this.
Caching using MVC[^]
I hope this helps.
Post back your queries if any.
Thanks.. :)
 
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