473,387 Members | 1,504 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

How do I tell the browser not to cache an xml file?

I am writing an intranet application that uses Fusion Charts to display the results of a database query. My problem is the results are stored in an xml file that gets rewritten with each search. The Fusion Chart uses the xml file to render the results into a graph. The problem is that the xml file gets cached by the webserver when the application gets loaded and the chart only displays the data from a when the application last ran. What i need to know is how to tell the web server not to cache the xml file. Any thoughts?
Oct 7 '10 #1
1 2072
Dormilich
8,658 Expert Mod 8TB
nothing you can do on the XML level. you need to set some HTTP headers (the cache-control headers).
Oct 8 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Ben | last post by:
Hi all, I have written a web server that listens for requests: class MyHandler(BaseHTTPRequestHandler): def do_GET(self): if (self.path)=='/': data=makeList() else:
0
by: ray | last post by:
i know this can be done, but i just couldn't figure out how. can someone give me a hint or somthing? it's a asp web application, and i need to use html tag "embed" to put a pdf document on a web...
1
by: onewebclick | last post by:
Is there a way to detect a browser cache is full using javascript or HTML thorugh a web page and inform the user to clear the cache to improve performance of the website. It looks like google's...
3
by: Sergey Surkov | last post by:
Hello Does anybody know how to make FireFox to cache data that comes via XMLHttpRequest? Here is the issue I deal with: - On the web server (apache2) I have a static xml file test.xml - When I...
4
by: Charlie | last post by:
Hi: When I change an image, but keep same title, then upload image to hosting server, my browser will display old image until I refresh. If I close browser, then open same page again, I have to...
2
by: junlia | last post by:
Hi All, I am working on a project that acts as a bridge. It does some checking with post xml data, and then redirects the request to an appropriate page. However, we find that depends on the...
4
by: kurt sune | last post by:
Hi, I have checked this newsgroup and goggled in order to find out how to expire the IE browser cache in order to ALWAYS get this text Warning: Page has Expired The page you requested was...
1
by: ajfish | last post by:
Hi, In my asp.net 1.1 web application there is a page with a url something like userinfo.aspx?userid=107 which has some postback buttons on it. In the GET method (i.e. IsPostBack = false) it...
0
by: Nizha | last post by:
Hi, The browser cache is not getting clearing inspite of setting these headers.. <% response.setHeader("Cache-Control","no-cache"); //HTTP 1.1 response.setHeader("Pragma","no-cache");...
1
by: appandairajc | last post by:
Hi Friends, Anybody tell me how to clear browser cache after logging out from my web application. Regards, Appandairaj C
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.