java - Google Drive - push notifications content update - download
问题描述
I have an application where user stores files (on the server) and on it's own google drive. I would like to reflect document changes from drive to server files. The only way of achieving this I could think of is using push notifications api for drive files and if type of notification is content update to download and replace file on server side. Is there a better way of achieving this, since notifications are being received often (almost for each letter typed) and downloading file every second doesn't seem like optimal solution.
解决方案
推荐阅读
- c# - 在 MS CRM 2015 错误消息中更新实体时
- php - 如何在 Laravel 中使用一键更新 MySql 值
- spring-boot - Springboot 安全性+jwt 'springSecurityFilterChain' 错误
- javascript - 当具有溢出-Y 的子项到达顶部时暂停窗口滚动并继续子项滚动
- firebase - Android Firebase 生成喜欢
- jquery - 我通过文本框上的 ajax 请求创建了一些值,如何在自动完成中显示它们?
- typescript - 检测将 TS 字符串类型别名分配给不同的字符串类型别名
- ajax - 如何在 plsql 中发出 AJAX 请求
- c# - 在 C# 中获取 HTML 表单数组值
- azure - 如何仅将密钥库机密分配给该特定 Web 应用程序?