0

i am trying to implement cache by varyByparam with url routing.

i have url as

routes.MapPageRoute("ProductByDate", "Product/sold/{date}", "~/CommonPages/ProductByDate.aspx");

Now varyByparam="date" but it doesn't seem to work. Can somebody guide me on this?

CoreLean
  • 2,139
  • 5
  • 24
  • 43

1 Answers1

0

Route elements are not considered parameters by OutputCache.

What is VaryByParam in asp.net?

cheers.

Community
  • 1
  • 1
vtortola
  • 34,709
  • 29
  • 161
  • 263