Ch 15 Cache
Hi Imar,
The programmatic caching in the book text addresses the mailbody file, which is text, and it is brought into memory as text. The Try It Out addressed an object which is more complex, but something that is cached only in the code behind.
Can we cache things used in the markup? Specifically, can we cache an image by itself? Is an image somehow different than the text of the mailbody as shown in the book text? I didn't quite see how to pull something from the cache to populate the markup. Maybe I'm missing an important understanding of how the pages ultimately get to the browser window.
For example, if we use an <asp:Image .../> element, can we cache the image that is displayed by that control? If so, how do we do that? Or does that image also have to be converted into a user control? Do you have any examples of that on your site?
Thanks.
Best Regards,
Alan
|