Groups
Conversations
All groups and messages
Send feedback to Google
Help
Training
Sign in
Groups
contributor.pw
Conversations
Labels
About
Groups keyboard shortcuts have been updated
Dismiss
See shortcuts
Хранение данных размером больше 100Кб в кеше скриптов
21 views
apps-script
каталог
Skip to first unread message
contributor.pw
unread,
Jul 16, 2021, 12:23:10 PM
7/16/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to contributor.pw
Немного перебрал старый сниппет
https://apps-script-snippets.contributor.pw/snippets/cache/chunky-cache/
Сохранение картинки в кеш
function runCacheImage() {
const data = DriveApp.getFileById(
'14Sm76a_dJI4eKtSbfCfDq4gVjcUzREE7'
).getBlob();
new BlobCache().putBlob('myfile1', data);
DriveApp.createFile(new BlobCache().getBlob('myfile1'));
new BlobCache().remove('myfile1');
}
Reply all
Reply to author
Forward
0 new messages