24 Oct 2012 12:05 PM #1
Issues using the ProxyCache plugin where it doesn't used cached data
I am using the aduncan88 / Ext.ux.proxy.ProxyCache in my stores. Specifically the JsonPCache. The data returned gets cached I see that in Chrome's developer tools however when the store's load() method is called again it doesn't used cached data but calls server again.
26 Oct 2012 6:27 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
You may want to send a request to the author for support on their extension.Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services firstname.lastname@example.org
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
26 Oct 2012 6:39 AM #3
I finally found the issue, the key that was being generated verses the key to retrieve the data was different. Two things are happening. The class was encoding the params data which for some reason when stored kept escaping "\" characters multiple times.
The other issue is the proxy needed to have onCache set to false so it wasn't generating a unique key every time.
I have contacted the author to look into.