Opened 12 years ago

Closed 12 years ago

#936 closed Bug (wontfix)

Bug fix for ie xml cacheing

Reported by: David Grover Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:

Description

IE caches XMLHttp requests, updated fckstyles.xml are not reflected in the editor.

I found that the following fix can be applied to fckeditorcode_ie.js.

B.setRequestHeader("If-Modified-Since", "Wed, 15 Nov 1995 04:58:08 GMT");

i.e.

B.open("GET",A,false); B.setRequestHeader("If-Modified-Since", "Wed, 15 Nov 1995 04:58:08 GMT"); B.send(null);

Thanks

D.

Change History (1)

comment:1 Changed 12 years ago by Alfonso Martínez de Lizarrondo

Resolution: wontfix
Status: newclosed

But that would force to always reload the xml file, even when it hasn't been changed since some months ago and that would be a very bad solution for 99.99% of the people.

If you are testing then you can change the fckconfig.js file to something like this: var rightNow = new Date(); FCKConfig.StylesXmlPath = FCKConfig.EditorPath + 'fckstyles.xml?time' + rightNow.toString() ;

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy