3

I have some dynamic asp.net pages. They have datalist controls. I want to cache my pages but also I want to see the changes of data during the duration time of cache. I don't know how can I do that. Do you have any suggestion?

Stewbob
  • 16,759
  • 9
  • 63
  • 107
cagin
  • 5,772
  • 14
  • 74
  • 130
  • 1
    Quick tips: either use ajax + some web services (jquery, knockout & co are your friends) to separate the content of the page and the data, or use some [post cache substitution](http://msdn.microsoft.com/en-us/library/h30h475z.aspx) – Steve B Oct 01 '12 at 14:16
  • I used jquery with my web service and it solved. Thanks alot, it works fine. – cagin Oct 01 '12 at 15:50

1 Answers1

0

You can cache the pages but repopulate the datalists on each page refresh using Post Cache Substitution.

mr_plum
  • 2,448
  • 1
  • 18
  • 31