Enterprise Library - Caching

  • Thread starter Thread starter Mythran
  • Start date Start date
M

Mythran

Simple question, hopefully simple answer :)

In a multi-tier application, when should I cache my data? Business Logic
Layer or Data Access Layer?

Thanks,
Mythran
 
Hello
I think you should cache in the business logic layer. Database calls are
always expensive calls. It also depends on the application. If the
application uses any legacy systems like mainframe, I suggest using business
logic layer.
If you give me more application details, I think we can still debate the
pros and cons of database and business layers.
thanks
Deepak
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top