Search Support

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.

Learn More

How Do I Disable Caching of XML Files?

  • 1 nzaghachinzaghachi
  • 3
  • 2 views
  • Nzaghachi ikpeazụ nke 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.

All Replies (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.