You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by m-hogue <gi...@git.apache.org> on 2017/09/12 18:58:23 UTC

[GitHub] nifi issue #2150: NIFI-3402: Added etag support to InvokeHTTP

Github user m-hogue commented on the issue:

    https://github.com/apache/nifi/pull/2150
  
    Since there's not a clean way to unit test this, the way i tested was to change unit tests and observe that there were etag cache hits until `max-age=1` seconds had passed, when a network request would be issued again. For example:
    
    ```
    2751 [pool-2-thread-1] DEBUG org.apache.nifi.processors.standard.InvokeHTTP - InvokeHTTP[id=6a72be7c-560d-4bdf-b58e-a59aaaec7478] OkHttp ETag cache metrics :: Request Count: 99 | Network Count: 2 | Hit Count: 97
    ```


---