Closed Bug 99603 Opened 25 years ago Closed 25 years ago

When a page changes, the cache keeps the original length.

Categories

(Core :: Networking: Cache, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 86474

People

(Reporter: phadley, Assigned: gordon)

Details

When I change the file and make it shorter, the part of the original page beyond that length is preserved and seems to be sent to the interpreter. This is very annoying behaviour. It persists even after restarting the browser. Below is the page, You can see how the page ends twice. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>v i l l a g e . c o m | T h e V i l l a g e G r o u p</title> <link rel="stylesheet" href="style/style.css"> <script language="JavaScript"> <!-- function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; } function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } function MM_findObj(n, d) { //v3.0 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x; } function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} } //--> </script> </head> <body topmargin="0" leftmargin="0" bgcolor="#FCDFA7" onLoad="MM_preloadImages('images/security_on.gif','images/insecurity_on.gif','images/aboutus2_on.gif','images/services_on.gif','images/publication2_on.gif')"> <table cellspacing="0" cellpadding="0" align="center" width="100%" > <tr> <td height="300" bgcolor="#FCDFA7" align="center"> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="600" height="200"> <param name=movie value="movie/village_flash2.swf"> <param name=quality value=high> <embed src="movie/village_flash2.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="600" height="200"> </embed> </object><br><br><br><br> </td> </tr> <tr><td> <table cellspacing="0" cellpadding="0" border="0" width="100%"> <tr> <td width="90" height="86" bgcolor="#FCDFA7"><div align="left" valign="center"><img src="images/trans_logo_sm.gif" width="86" height="86" border="0" align="left" alt=""></div></td> <td height="90" bgcolor="#FCDFA7"><div align="left" valign="center"><img src="images/textop.gif" width="498" height="43" border="0" alt=""></div> </tr> </table> </td></tr> <tr> <td bgcolor="#D70000" align="left"> <div align="center"> <a href="security.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image2','','images/security_on.gif',1)"><img name="Image2" border="0" src="images/security_off.gif" width="154" height="20"></a>&nbsp;&nbsp; <a href="insecurity.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image3','','images/insecurity_on.gif',1)"><img name="Image3" border="0" src="images/insecurity_off.gif" width="174" height="20"></a>&nbsp;&nbsp; <a href="aboutus.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image4','','images/aboutus2_on.gif',1)"><img name="Image4" border="0" src="images/aboutus2_off.gif" width="94" height="20"></a> &nbsp;&nbsp;&nbsp; <a href="services.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image5','','images/services_on.gif',1)"><img name="Image5" border="0" src="images/services_off.gif" width="86" height="20"></a> &nbsp;&nbsp;&nbsp; <a href="publications.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image6','','images/publication2_on.gif',1)"><img name="Image6" border="0" src="images/publication2_off.gif" width="127" height="20"></a> </div> </td> </tr> </table> <table cellspacing="0" cellpadding="0" align="center" width="100%" bgcolor="#FCDFA7" > <tr> <td bgcolor="#FCDFA7" align="center" valign="top" class="smalltext"> <br><br> <div class="bodytitle">THE VILLAGE GROUP</div> <a href=contact.html><img src="images/contactus.gif" width="138" height="31" border="0" alt="Contact Us"></a> <br><br> Contents of entire site Copyright © 1989-2001 The Village Group </div> </td> </tr> </table> </body> </html> age Group </div> </td> </tr> </table> </body> </html>
This could be bug 79983 or bug 86474. Reporter, what build are you using? Does this occur in a recent nightly build?
.
Assignee: asa → gordon
Component: Browser-General → Networking: Cache
QA Contact: doronr → tever
Reporter: What are your cache prefs? Does this happen when you view the page from web in the browser or source? Or is the erronous code left in after you have made the page shorter in composer? Does it still happen in new builds? (If not, it would be a dup of bug 79983, now fixed) Please reply by clicking link to the bug near top of this bugmail, and also include the build ID of the mozilla build you originally saw bug with.
My guess is that this is a dup of bug 86474, which has been fixed for Mac, Windows, and Linux for sometime now. I'll wait a bit in hopes we get a build ID before marking this as a duplicate however.
Marking these all WORKSFORME sorry about lack of response but were very overloaded here. Only reopen the bug if you can reproduce with the following steps: 1) Download the latest nightly (or 0.9.6 which should be out RSN) 2) Create a new profile 3) test the bug again If it still occurs go ahead and reopen the bug. Again sorry about no response were quite overloaded here and understaffed.
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
reopening
Status: RESOLVED → UNCONFIRMED
Resolution: WORKSFORME → ---
No response, duping. *** This bug has been marked as a duplicate of 86474 ***
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago → 25 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.