Where to put cache logic?

Soldato
Joined
5 Mar 2003
Posts
10,771
Location
Nottingham
Hi,
I have a multi-tier application (UI, buslogic and data access). Now the application will be used by lots of people and hitting some fairly large databases to get small amounts of data, so I want to cache the results on the client machine; the only question is where. Ok well the UI is a no brainer - it doesnt belong there... so in the business logic layer or the dalc? Now I'm thinking it probably belongs in the dalc but I have always thought the dalc should be returning results from the DB and nothing else.

Can someone confirm? :)
Cheers.
 
Back
Top Bottom