Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
Matt R.29
9 years agoNew member | Level 1
/thumbnails API response returns "no-cache" policy, no Etag
I was hoping to get clarification on the recommended approach for thumbnail caching for applications using Dropbox's REST API?
Specifically, I'm using the `/thumbnails` endpoint, but the response i...
Greg-DB
Dropbox Community Moderator
9 years agoHi Matt, it sounds like you already have the right idea here. You should use the 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.
About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!