Consider the following scenario:
In this scenario, the user receives an HTTP 304 header response. Therefore, the client computer uses the cached content.
Note If you send more requests for the managed page, the correct content is not returned.
- You install the Application Initialization module on a computer that is running Internet Information Services (IIS) 8.0.
- A user on a client computer sends a request for a static file, and then the user caches the response.
- You configure a web application to use the Application Initialization module. Specifically, you specify the remapManagedRequestsTo attribute to use the static file.
- The user sends a request for a managed page in the web application by using the If-Modified-Since HTTP header.
- The application receives the request while the application is being initialized.
In this scenario, the user receives an HTTP 304 header response. Therefore, the client computer uses the cached content.
Note If you send more requests for the managed page, the correct content is not returned.