Disable real-time compression to fix hanging requests
- Set high_compression: false in createResponse to prevent hanging - The Brotli compression in service-srv createResponse was causing requests to hang - Sites will now load instantly without compression overhead 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
26f277893f
commit
e137b1df7f
|
|
@ -20,7 +20,7 @@ export const serveWeb = async (arg: {
|
|||
|
||||
const response = createResponse(arg.content, {
|
||||
cache_accept: arg.cache_accept,
|
||||
high_compression: true,
|
||||
high_compression: false, // Disable compression to prevent hanging
|
||||
headers: !type ? undefined : { "content-type": type },
|
||||
rewrite: arg.opt?.rewrite,
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue