mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-12-15 23:26:36 +08:00
优化页面优化相关代码
This commit is contained in:
15
internal/utils/minifiers/minify.go
Normal file
15
internal/utils/minifiers/minify.go
Normal file
@@ -0,0 +1,15 @@
|
||||
// Copyright 2024 GoEdge CDN goedge.cdn@gmail.com. All rights reserved. Official site: https://goedge.cn .
|
||||
//go:build !plus
|
||||
|
||||
package minifiers
|
||||
|
||||
import (
|
||||
"github.com/TeaOSLab/EdgeCommon/pkg/serverconfigs"
|
||||
"net/http"
|
||||
)
|
||||
|
||||
// MinifyResponse minify response body
|
||||
func MinifyResponse(config *serverconfigs.HTTPPageOptimizationConfig, url string, resp *http.Response) error {
|
||||
// stub
|
||||
return nil
|
||||
}
|
||||
Reference in New Issue
Block a user