|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Enterprise Library - CachingSimple 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 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 > > |
|||||||||||||||||||||||