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

[jira] [Commented] (CB-4884) FileTransfer caches resources on download on iOS

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

Andrew Grieve commented on CB-4884:
-----------------------------------

Generally, the server is responsible for setting Caching rules (e.g. cache-control: no-cache). Could you elaborate on why you'd want to override this?
                
> FileTransfer caches resources on download on iOS
> ------------------------------------------------
>
>                 Key: CB-4884
>                 URL: https://issues.apache.org/jira/browse/CB-4884
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin File Transfer
>    Affects Versions: 3.0.0
>         Environment: iOS 5.x and above
>            Reporter: Ivo Stoilov
>              Labels: FileTransfer
>
> FileTransfer uses default caching policy which causes all downloaded resources to be cached locally, so it makes updating of the server resources impossible. I have tried with NSURLRequestReloadIgnoringLocalAndRemoteCacheData and it works as expected.

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