Royi Namir
Royi Namir

Reputation: 148544

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 !).

Upvotes: 0

Views: 180

Answers (1)

EricLaw
EricLaw

Reputation: 57085

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.

Upvotes: 1

Related Questions