Problem with Cache
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Problem with Cache Expand / Collapse
Author
Message
Posted 2/23/2008 12:13:31 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 2/23/2008 12:53:27 PM
Posts: 1, Visits: 2
Hi,

We're using the JavaScript dataURL method, and we're passing some parameters in the data URL, but it looks like FusionCharts is also adding another parameter called FCTime with a date/time value into the list of parameters.

We DO NOT want this extra parameter to be added - it is possible to prevent it?

Thanks,

Andy

Post #4692
Posted 2/28/2008 7:31:05 AM
FusionCharts Team

FusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts Team

Group: Administrators
Last Login: 7/29/2008 12:15:49 PM
Posts: 2,001, Visits: 474
Andy,

It's not possible to directly remove it. You can customize the source code to remove this, though.


Thanks,
Pallav Nadhani
FusionCharts Team
Post #4780
Posted 3/25/2008 6:10:39 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 5/25/2008 1:54:12 PM
Posts: 5, Visits: 14
I'd also like to modify the code to disable the appendage of the FCTime variable, but I'm not a Javascript guru, and I can't find the specific location in the .js file where the querystring is being added. Can you point me in the right direction for disabling this?

Thanks,
M
Post #5275
Posted 3/30/2008 2:04:48 PM
FusionCharts Team

FusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts Team

Group: Administrators
Last Login: 7/29/2008 12:15:49 PM
Posts: 2,001, Visits: 474
That code is not present in JS - but rather FusionCharts source code.

Thanks,
Pallav Nadhani
FusionCharts Team
Post #5344
Posted 4/18/2008 7:53:08 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 4/18/2008 7:51:51 PM
Posts: 1, Visits: 1
Is there any way to prevent the generation of that parameter in the request? It breaks the cache, removing any possibility of setting etag or cache control headers.

www.newrelic.com
Post #5774
Posted 4/22/2008 11:59:37 AM
FusionCharts Team

FusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts Team

Group: Administrators
Last Login: 7/29/2008 12:15:49 PM
Posts: 2,001, Visits: 474
You'll have to customize the code to attain that.

Thanks,
Pallav Nadhani
FusionCharts Team
Post #5844
Posted 4/25/2008 4:25:39 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 8/15/2008 10:36:36 AM
Posts: 6, Visits: 8
This is a major bug in my humble opinion. Especially since this "feature" cannot be disabled in JavaScript.

Please remove the code from the charts and add it to the FusionCharts.js:
--- FusionCharts.js	2008-04-25 14:22:38.000000000 -0700
+++ FusionCharts.js-NEW 2008-04-25 14:22:35.000000000 -0700
@@ -125,6 +125,7 @@
return swfNode;
},
setDataURL: function(strDataURL){
+ strDataURL += '&FCTime='+(new Date()).getTime();
//This method sets the data URL for the chart.
//If being set initially
if (this.initialDataSet==false){


Please?
Post #5954
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -7:00, Time now is 7:16am


Execution: 0.406.