简体   繁体   中英

Partial caching and fiddler?

I'm building a website page with asp.net (webforms).

I'm using partial caching (output caching) for a page. So A and B (user controls) are cached. (while the page is not ). Is there any way I can see in Fiddler that A and B are retrieved from the cache while the page is not?

 ___________________
| Page              |
|   ____            |
|  +    +           |
|  |  A |(ascx)     |
|  +____+           |
|                   |
|                   |
|   ____            |
|  +    +           |
|  |  B |(ascx)     |
|  +____+           |
|                   |
|                   |
 ___________________

edit

Lets say A.ascx contains only :

<span>Hello A</span>

and B.ascx contains only :

<span>Hello B</span>

and the output cache location is " Private " ( for the ascx only ! ).

Fiddler shows all HTTP requests/responses as they are loaded by your browser.

If A and B are cached by the client, then when the page loads, you will not see requests for either A or B in Fiddler, except on the very first page load . On the first load, A and B will be downloaded (you will see them in Fiddler) and cached on the client.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM