Microsoft KB Archive/274077

= PRB: External Content Is Resynchronized on Form Submit =

Article ID: 274077

Article Last Modified on 5/11/2006

-

APPLIES TO


 * Microsoft Internet Explorer 5.01
 * Microsoft Internet Explorer (Programming) 5.01 SP1
 * Microsoft Internet Explorer 5.5

-



This article was previously published under Q274077



SYMPTOMS
When you submit a form, any referenced external content on the form response (except images) is resynchronized with the server through conditional GET requests. This occurs regardless of server-specified expiration headers or the client setting the Check for newer versions of stored pages browser option.



RESOLUTION
To resolve this problem, obtain the latest service pack for Internet Explorer 5.5. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

276369 How to Obtain the Latest Service Pack for Internet Explorer 5.5



STATUS
This problem was first corrected in Internet Explorer 5.5 Service Pack 2.



MORE INFORMATION
This behavior changed with the release of Internet Explorer 5.5 Service Pack 2 (SP2) and later. The problem that is outlined in this article no longer occurs. Internet Explorer now only sends If-Modified-Since get requests if the content in the cache has expired, or if that content never had an expiration time.

Steps to Reproduce Behavior
  Create a new file called Page1.htm and paste the following code:      

Page 1: <FORM NAME=GETFORM ACTION=&quot;page2.htm&quot; METHOD=GET> <INPUT TYPE=SUBMIT> </FORM>

</BODY> </HTML> </li> <li> Create a new file called Page2.htm and paste the following code: <HTML>  <WWLINK REL=&quot;stylesheet&quot; HREF=&quot;style.css&quot; TYPE=&quot;text/css&quot;> <SCRIPT SRC=&quot;navigation.js&quot;></SCRIPT> </HEAD> <BODY>

Page 2:</P>

</BODY> </HTML> </li> <li>Create a Style.css file and Navigation.js file with minimal code.</li> <li>Make sure that you enable content expiration on the Web server.</li> <li>In Internet Explorer, open Page1.htm. Page1.htm is a simple HTML form that references two external files, Style.css and Navigation.js. These files are generally static, and the Web server returns an Expires header for these files with an expiration date for some date in the future. As Page1.htm loads in Internet Explorer, these two files are downloaded and cached appropriately.</li> <li>Click the Submit Query button. When Page2.htm is loaded because of the form submission from page one, although Style.css and Navigation.js are fresh and do not need to be downloaded again from the Web server, Internet Explorer always sends an If-Modified-Since conditional GET request to the Web server for each file. You cannot avoid these requests through code or browser setting.

NOTE: For design reasons, images are not affected by this problem.</li></ol>

<div class="references_section">