You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2013/04/18 20:34:13 UTC

[jira] [Commented] (CB-3071) App cache is invalidated after complete restart of an app

    [ https://issues.apache.org/jira/browse/CB-3071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13635491#comment-13635491 ] 

Shazron Abdullah commented on CB-3071:
--------------------------------------

It's possible it was this NSURLCache change:

AppDelegate.m 2.5.0:
https://github.com/apache/cordova-ios/blob/2.5.0/bin/templates/project/__TESTING__/Classes/AppDelegate.m

AppDelegate.m 2.2.0:
https://github.com/apache/cordova-ios/blob/2.2.0/bin/templates/project/__TESTING__/Classes/AppDelegate.m

Try removing those lines and see if it helps.
                
> App cache is invalidated after complete restart of an app
> ---------------------------------------------------------
>
>                 Key: CB-3071
>                 URL: https://issues.apache.org/jira/browse/CB-3071
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.5.0
>            Reporter: Shazron Abdullah
>            Assignee: Shazron Abdullah
>
> I have this report from a developer:
> We've recently upgraded from 2.2 to 2.5 on IOS.
> In 2.2, our application leveraged cached assets after a complete restart of the application.  In 2.5 the same scenario always requests new assets from the web server.  The web server has not changed, and it returns caching instructions with the content.  Once the application is running, the cached assets are utilized as we expect.
> Is this by design?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira