uso de setCache(false) en google app script

7 views
Skip to first unread message

Jose Mauricio Losada G

unread,
May 14, 2025, 4:00:50 PMMay 14
to Apps Script en Español
Estoy realizando un google app script web y quiero que el navegador no guarde la cache he revisado en busqueda y me dice que utilice :
setCache(false)

al hacerlo me genera error al desplegar y no se la causa alguien me puede ayudar

function doGet(e) { const html = HtmlService.createHtmlOutput("<h1>Hola mundo</h1>").setPageTitle("Mi página"); return html.setContent("<h1>Hola mundo</h1>").setCache(false);}
Reply all
Reply to author
Forward
0 new messages