[
https://issues.apache.org/jira/browse/CB-3071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15801979#comment-15801979
]
Paulo Santos commented on CB-3071:
----------------------------------
We've just tried David Azevedo's solution and it does work, shortening the
initial load of a remote site in Cordova a lot on slow connections.
We added
<preference name="AppendUserAgent" value="app_name_here" />
Reading Andrew Grieve's link: http://markmail.org/thread/ibucv3jeyekk5vxo it
sounds like Cordova is caching things based on the user agent. Isn't this
making the cache size grow with every new app start?
> 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
> Attachments: apache server 200 on GET requests from IOS Cordova
> client.pdf, apache server 304 on GET requests from cordova client.pdf,
> headers
>
>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]