<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic /thumbnails API response returns &amp;quot;no-cache&amp;quot; policy, no Etag in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/thumbnails-API-response-returns-quot-no-cache-quot-policy-no/m-p/172655#M6597</link>
    <description>&lt;P&gt;I was hoping to get clarification on&amp;nbsp;the&amp;nbsp;recommended approach for thumbnail caching&amp;nbsp;for applications using Dropbox's REST API?&lt;/P&gt;
&lt;P&gt;Specifically, I'm using the `/thumbnails` endpoint, but the response includes a `no-cache` policy for the `Cache-control` HTTP header. My understanding is typically this policy also includes an `Etag` HTTP header field, but one is not returned.&lt;/P&gt;
&lt;P&gt;Perhaps the Etag&amp;nbsp;isn't included because Dropbox API clients are just expected to cache the thumbnail locally, and then prior to reusing the cached thumbnail check if the file is modified using the dropbox-specific metadata (current revision, or hash etc.)&lt;/P&gt;
&lt;P&gt;However, I'm confused why the `Cache-control` policy is `no-cache` at all and what the expected/recommended handling for thumbnails is.&amp;nbsp;Can anyone clarify?&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:34:20 GMT</pubDate>
    <dc:creator>Matt R.29</dc:creator>
    <dc:date>2019-05-29T09:34:20Z</dc:date>
    <item>
      <title>/thumbnails API response returns "no-cache" policy, no Etag</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/thumbnails-API-response-returns-quot-no-cache-quot-policy-no/m-p/172655#M6597</link>
      <description>&lt;P&gt;I was hoping to get clarification on&amp;nbsp;the&amp;nbsp;recommended approach for thumbnail caching&amp;nbsp;for applications using Dropbox's REST API?&lt;/P&gt;
&lt;P&gt;Specifically, I'm using the `/thumbnails` endpoint, but the response includes a `no-cache` policy for the `Cache-control` HTTP header. My understanding is typically this policy also includes an `Etag` HTTP header field, but one is not returned.&lt;/P&gt;
&lt;P&gt;Perhaps the Etag&amp;nbsp;isn't included because Dropbox API clients are just expected to cache the thumbnail locally, and then prior to reusing the cached thumbnail check if the file is modified using the dropbox-specific metadata (current revision, or hash etc.)&lt;/P&gt;
&lt;P&gt;However, I'm confused why the `Cache-control` policy is `no-cache` at all and what the expected/recommended handling for thumbnails is.&amp;nbsp;Can anyone clarify?&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:34:20 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/thumbnails-API-response-returns-quot-no-cache-quot-policy-no/m-p/172655#M6597</guid>
      <dc:creator>Matt R.29</dc:creator>
      <dc:date>2019-05-29T09:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: /thumbnails API response returns "no-cache" policy, no Etag</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/thumbnails-API-response-returns-quot-no-cache-quot-policy-no/m-p/172656#M6598</link>
      <description>&lt;P&gt;Hi Matt, it sounds like you already have the right idea here. You should use the&amp;nbsp;Dropbox API concepts to keep track of this, instead of HTTP caching rules. That is, you can use the "rev" value, e.g., from /metadata or /delta, to check if the contents have changed. If the rev value hasn't changed for a file, you know the contents haven't changed, and therefore your saved thumbnail for that rev is still valid. If the rev has changed, that means the file contents have changed, so you should call /thumbnails again to get the latest thumbnail.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2016 03:48:19 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/thumbnails-API-response-returns-quot-no-cache-quot-policy-no/m-p/172656#M6598</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-04-05T03:48:19Z</dc:date>
    </item>
  </channel>
</rss>

