c-okelly / anki-remote-decks

Addon for Anki - Creating remote decks in Google Docs
https://ankiweb.net/shared/info/911568091
MIT License
71 stars 15 forks source link

Reduce Automatic Update rate in Google Docs? #87

Closed pagkly closed 3 years ago

pagkly commented 3 years ago

Hi. Thank you for the great add-on. I got one question though is there a way to reduce Google Docs publish to web refresh rate?

If you check the Google Docs published example, you will see on the top right hand corner "Automatically updated every 5 minutes". https://docs.google.com/document/d/e/2PACX-1vQawILe70vt1oZCLn9SdyF9Wo0i7-gQ2owGeghXHxhjx9e8_WclLotuU8mFLglZ1QQUDnmBnhRTabte/pub

Is there a way to reduce it to say 1 minute or instantly?

I believe that's why my changes were not synced after I press the sync button on Anki desktop since Google Docs have not refreshed the new update.

c-okelly commented 3 years ago

Hey,

The rate is set by Google. I would imagine it's done to stop a large amount of cahce invalidation for their servers.

I would be very surprised if it could be changed.

pagkly commented 3 years ago

Understandable. Thanks!