Compiling Handlebars templates using Service Worker