I just noticed a “Cache” object, when would you use the Cache object to store state data nd when would you use the Application object?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Everything that you put in the Application state collection stays there.
When you put something in the Cache collection you can specify how long it will stay there and how important it is in relation to other objects in the cache. You can store any amount of data in the cahce, and the system will decide what to throw away depending on the current memory usage.