Started by: Tim | Started on: 15 June 2009
Tips, tricks, tutorials and all things Spry. As I come across and solve issues during my own developing I'll try and post them here. If you ever think you have a more elegant solution don't be shy, get it posted!
Posted by: Tim |
Posted on: 15 June 2009 - 04:15 PM
Quick Spry mini-tip! If you're using {useCache: false } when instantiating your dataset and it's STILL loading in the cached version, then use the following code to append a unique value to the query string. This should eliminate your caching issues.
var date = new Date();
var unique = date.valueOf();
var dsData = new Spry.Data.XMLDataSet("yourDatasource.xml
?time="+ unique, "root/ ", {useCache: false});
Comments (0)
FREDTERP: An assist from across the pond? Thank You FREDTERP ...more
Greg in Mason, Ohio: You've saved me! Thanks! ...more
Matt: Great tutorial thanks! Went through the steps one by one, an awkward problem soved! ...more
Dougal (BT): Do your self a favour and use Hardlight's services! I couldn't recommend Hardlight's services more. I had the pleasure ...more