C
CDZ
I'm a bit confused on OutputCache when used in a .ascx page. I have a
control that reads in an RSS feed from an external source and I would
like to cache that server-side so that any visitors get a quick cached
page for X seconds. I'm more concerned with new visitors coming to the
page with the feed on it than people sitting and refreshing the page, I
would assume their browser would cache the page/feed on it's own
anyway.
You can't specify Location="Server" on ascx pages so I don't know what
to try. I thought this would be a workaround to storing the xml locally
and updating it every X seconds/minutes.
How would you do what I'm trying to accomplish?
control that reads in an RSS feed from an external source and I would
like to cache that server-side so that any visitors get a quick cached
page for X seconds. I'm more concerned with new visitors coming to the
page with the feed on it than people sitting and refreshing the page, I
would assume their browser would cache the page/feed on it's own
anyway.
You can't specify Location="Server" on ascx pages so I don't know what
to try. I thought this would be a workaround to storing the xml locally
and updating it every X seconds/minutes.
How would you do what I'm trying to accomplish?