1. #1
    Ext JS Premium Member
    Join Date
    Oct 2007
    Location
    Herndon, VA
    Posts
    265
    Vote Rating
    3
    durlabh is on a distinguished road

      0  

    Default iOS6 Caching Post requests also

    iOS6 Caching Post requests also


    I've spent last 3-4 hours pulling my hair as some of our sites/ sencha touch apps have stopped working properly. On further investigation and search on the internet, found out that iOS 6 - Safari seems to be caching POST requests also. Here is a small fix I did for connection request to add the caching parameter on POST requests also in Sencha Touch:

    Code:
    Ext.define('Df.data.Connection', {
        override: 'Ext.data.Connection',
    
    
        setOptions: function (options, scope) {
            var result = this.callOverridden(arguments);
            result.url = Ext.urlAppend(result.url, (options.disableCachingParam || this.getDisableCachingParam()) + '=' + (new Date().getTime()));
            return result;
        }
    });

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    This seems to have started with the GA release. Up to beta4, everything was working fine.

  3. #3
    Touch Premium Member BostonMerlin's Avatar
    Join Date
    Aug 2010
    Location
    Boston
    Posts
    515
    Vote Rating
    41
    BostonMerlin has a spectacular aura about BostonMerlin has a spectacular aura about BostonMerlin has a spectacular aura about

      0  

    Default


    Same issue and fix as well.

  4. #4
    Sencha User
    Join Date
    Jun 2009
    Posts
    396
    Vote Rating
    2
    parky128 is on a distinguished road

      0  

    Default


    Same issue, override suggested works for me too.

    There is lots on iOS 6 and caching post requests with a quick Google! Hopefully they will bring out an iOS patch some time soon.

  5. #5
    Sencha Premium Member intellix's Avatar
    Join Date
    Mar 2012
    Location
    UK + Malta
    Posts
    263
    Vote Rating
    18
    intellix will become famous soon enough

      0  

    Default


    came here to report the same thing. Thanks for the fix.

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."