Drop the disk cache reference and the SRI for the empty module script created during scripting is disabled. Also the result of an off-thread compilation is never consumed here either, cancel it as well. Differential Revision: https://phabricator.services.mozilla.com/D322567
10 lines
295 B
JavaScript
10 lines
295 B
JavaScript
"use strict";
|
|
|
|
function handleRequest(request, response) {
|
|
response.setHeader("Content-Type", "text/javascript", false);
|
|
|
|
// Make the response cacheable in the HTTP cache.
|
|
response.setHeader("Cache-Control", "max-age=3600", false);
|
|
response.write("export const marker = 'module';\n");
|
|
}
|