Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

How Do I Disable Caching of XML Files?

  • 1 réponse
  • 3 ont ce problème
  • 2 vues
  • Dernière réponse par 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.

Toutes les réponses (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.