
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
sitefinitysteve
asked on 23 Aug 2011, 01:46 AM
I've been heavily relying on the following: http://code.google.com/p/jquery-jsonp/
Can the Kendo DS do this as well by any chance? The performance gained from the cache is AMAZING.
Can the Kendo DS do this as well by any chance? The performance gained from the cache is AMAZING.
8 Answers, 1 is accepted
0
Hello Steve,
Currently only available option is in-memory cache.All the best,
Rosen
the Telerik team
Indeed, our data source provides means for caching, it can be enabled on transport:
var dataSource = new kendo.data.DataSource({
transport: {
cache: "inmemory"
//...
}
}
});
Currently only available option is in-memory cache.All the best,
Rosen
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0

sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
answered on 23 Aug 2011, 02:20 PM
Can you elaborate on how the caching mechanism works?
...does it store query results and just fetch from local if the query is the same?...cleared on postback?...?
...does it store query results and just fetch from local if the query is the same?...cleared on postback?...?
0
Accepted
Hello Steve,
Rosen
the Telerik team
Indeed, the query arguments are used as key, if this key matches data is extracted from the cache and server is not requested.
The cache will be cleared if page is refreshed.
Rosen
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0

sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
answered on 23 Aug 2011, 02:29 PM
Fantastic, hopefully rendered this extra plugin useless for me! :) (the google one)
0

sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
answered on 23 Aug 2011, 02:33 PM
Where's the documentation on this?
0
Hello Steve,
Rosen
the Telerik team
I'm afraid that currently there is not documentation on this exact property. Please excuse us for the inconvenience.
All the best,Rosen
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0

Salvador
Top achievements
Rank 1
answered on 04 May 2012, 09:57 AM
Hi,
I'm having problems with datasource read transport. I need to fetch data on real-time, when it fetches data from database it says it's from the cache, I try to debug it with google chrome. I need to disable caching. Could you please help me?
Kidd Tapel
I'm having problems with datasource read transport. I need to fetch data on real-time, when it fetches data from database it says it's from the cache, I try to debug it with google chrome. I need to disable caching. Could you please help me?
Kidd Tapel
0

d
Top achievements
Rank 1
answered on 21 Mar 2013, 03:56 PM
This is late, but I thought I'd post it anyway.
Salvador, to disable cacheing, set cache: false. See here: http://docs.kendoui.com/api/framework/datasource#configuration-transport.read.cache-Boolean
You can do this per specfic CRUD operation within transport. Setting cache to false will also append a timestamp parameter to your request.
Salvador, to disable cacheing, set cache: false. See here: http://docs.kendoui.com/api/framework/datasource#configuration-transport.read.cache-Boolean
You can do this per specfic CRUD operation within transport. Setting cache to false will also append a timestamp parameter to your request.