Home All Groups Group Topic Archive Search About

Enterprise Library - Caching

Author
28 Jun 2005 6:45 PM
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

Author
29 Jun 2005 3:49 AM
Deepak
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

Show quoteHide quote
"Mythran" wrote:

> 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
>
>