How can I detect changes in XML?

The changes I make to my XML document dont show up on my website til I clear my cache...?

  • Does this mean that everyone who has previously visited my website before the changes will also have to manually clear their cache before they see the most recent changes? What is the best way to fix my problem? My XML Doc is being used in correlation with a flash slideshow.

  • Answer:

    Unless your pages have cache-control headers added explicitly, the browser uses some heuristics to determine how long to cache pages and images for. So they will probably still see changes. If you want to control the changes, you can add Expires and HTTP/1.1 headers like Must-Revalidate. I've forgotten what exactly. You basically want to stop them caching for longer than your update cycle; if you make all your objects totally uncachable it will make your site slower.

Rob at Yahoo! Answers Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.