Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-26501

Android: Add "cache" property support to HTTPClient

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Android
    • Story Points:
      5

      Description

      Summary:
      On iOS, HTTPClient supports boolean "cache" property, which can be set false to force HTTPClient to ignore the cache and always send the HTTP request.
      https://docs.appcelerator.com/platform/latest/#!/api/Titanium.Network.HTTPClient-property-cache

      Android does not currently support this property and always uses the cache. We should add support for this property so the cache can be ignored on Android too.

      Note:
      We need to evaluate if a POST request should be cached at all. I think no, but we should double check how it works on iOS when setting this property true.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jquick Joshua Quick
                Reporter:
                jquick Joshua Quick
              • Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Backbone Issue Sync

                  • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                    Git Source Code