S
Smithers
Just wondering what it would take to cache a copy of the output HTML from a
dynamically constructed aspx page before it is sent to the browser.
Reason being: the page is constructed of a few user controls, each of which
queries a SQL Server database for their content. The content is not likely
to change frequently at all - so I'd like a way to cache the final page upon
first request. Then subsequent requests are served from the cache - with no
need to do the expensive database queries on subsequent requests for the
cached page. Logic that updates the database would clear the cache so that
no stale data would exist in the cache.
1. How can I cache a copy of the page for future use?
2. How can I serve a subsequent request for the page directly from the
cache, rather than running the aspx logic?
Thanks.
dynamically constructed aspx page before it is sent to the browser.
Reason being: the page is constructed of a few user controls, each of which
queries a SQL Server database for their content. The content is not likely
to change frequently at all - so I'd like a way to cache the final page upon
first request. Then subsequent requests are served from the cache - with no
need to do the expensive database queries on subsequent requests for the
cached page. Logic that updates the database would clear the cache so that
no stale data would exist in the cache.
1. How can I cache a copy of the page for future use?
2. How can I serve a subsequent request for the page directly from the
cache, rather than running the aspx logic?
Thanks.