Enterprise Library - Caching

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mythran

    #1

    Enterprise Library - Caching

    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

  • Deepak

    #2
    RE: Enterprise Library - Caching

    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

    "Mythran" wrote:
    [color=blue]
    > 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
    >
    >[/color]

    Comment

    Working...