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

ASF GitHub Bot commented on CB-6389:
------------------------------------

Github user jak commented on the pull request:

    
https://github.com/apache/cordova-plugin-inappbrowser/pull/34#issuecomment-39514637
  
    Deleting cookies isn't the same as clearing cache. May I suggest renaming 
the option to 'clearcookies' for iOS, or better yet, clearing the cache with 
something like:
    
        [[NSURLCache sharedURLCache] removeAllCachedResponses];
    
    [Documentation 
reference](https://developer.apple.com/library/ios/documentation/cocoa/reference/foundation/Classes/NSURLCache_Class/Reference/Reference.html#//apple_ref/occ/instm/NSURLCache/removeAllCachedResponses)



> Add clearsessioncache option for iOS
> ------------------------------------
>
>                 Key: CB-6389
>                 URL: https://issues.apache.org/jira/browse/CB-6389
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: iOS, Plugin InAppBrowser
>    Affects Versions: 3.4.0
>         Environment: iOS
>            Reporter: Mark Bradshaw
>            Priority: Minor
>              Labels: features
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Android has a clearsessioncache option that is missing in the iOS version.  
> This, being a useful feature, is something I'd like to add.  The changes are 
> fairly minor, and I will issue a pull request with the needed code changes.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to