Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

How Do I Disable Caching of XML Files?

  • 1 件の返信
  • 3 人がこの問題に困っています
  • 2 回表示
  • 最後の返信者: cor-el

more options

I trying to parse an RSS feed in php and view the results in Firefox. Unfortunately, even with caching disabled, Firefox still seams to load the old XML file. As a result I can't tell if the changes I've made to my code have allowed the feed to function properly. How do I keep Firefox from caching XML filed?

This seems to be different that caching for everything else. I am sick of seeing the same thing every time I load http://localhost/xmltest.php or http://localhost/xmltest.xml.

Also, while I am on the topic is there any way to fix Firefox so that it will parse RSS no matter what characters are within the elements of each tag. It seems like no matter what I do to eliminate certain type of characters from the feed the mere presence of one that is not "properly" formed breaks it.

I trying to parse an RSS feed in php and view the results in Firefox. Unfortunately, even with caching disabled, Firefox still seams to load the old XML file. As a result I can't tell if the changes I've made to my code have allowed the feed to function properly. How do I keep Firefox from caching XML filed? This seems to be different that caching for everything else. I am sick of seeing the same thing every time I load http://localhost/xmltest.php or http://localhost/xmltest.xml. Also, while I am on the topic is there any way to fix Firefox so that it will parse RSS no matter what characters are within the elements of each tag. It seems like no matter what I do to eliminate certain type of characters from the feed the mere presence of one that is not "properly" formed breaks it.

すべての返信 (1)

more options

Does opening the page in a Private Browsing mode tab work properly?

You can reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.

  • Hold down the Shift key and left-click the Reload button
  • Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
  • Press "Command + Shift + R" (Mac)

Does it work properly if you disable the disk cache as a test?

  • browser.cache.disk.enable = false

You can optionally temporarily disable the memory cache as well.

  • browser.cache.memory.enable = false

You can open the about:config page via the location/address bar. You can accept the warning and click "I'll be careful" to continue.

See the about:cache page for the cache use.