Results 1 to 3 of 3

Thread: Issues using the ProxyCache plugin where it doesn't used cached data

  1. #1
    Sencha User
    Join Date
    Jun 2011
    Posts
    71
    Vote Rating
    0
      0  

    Default 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.

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Vote Rating
    1272
      0  

    Default

    You may want to send a request to the author for support on their extension.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Jun 2011
    Posts
    71
    Vote Rating
    0
      0  

    Default

    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.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •