Expiration - IIS 6

If I set the expiration time for static files to be about 14 days, and I decide to update some files later, will IIS know that they will serve the updated files, or will the client wait until the expiration date?

Or is it the other way around when the browser asks for a new file if the changed date is different?

Sometimes I update the file on the server and I need to do a hard update (CTRL + F5) to see the difference. Currently, it expires in 1 day.

+3
source share
2 answers

A web browser and any intermediate proxy servers can cache the page until it expires. This means that IIS may not even know that the client is viewing the page.

+2

ETags

ETag - , - , URL-. URL- - , ETag. ETags , , , . [...]

0

All Articles