fix(goong): bump proxy cache version prefix to goong_proxy_v2 to clear dirty cache
All checks were successful
Build and Release / release (push) Successful in 1m31s
All checks were successful
Build and Release / release (push) Successful in 1m31s
This commit is contained in:
@@ -59,7 +59,7 @@ func (s *goongService) ProxyRequest(ctx context.Context, method string, targetUR
|
|||||||
parsedUrl.RawQuery = q.Encode()
|
parsedUrl.RawQuery = q.Encode()
|
||||||
finalURL := parsedUrl.String()
|
finalURL := parsedUrl.String()
|
||||||
|
|
||||||
cacheKey := fmt.Sprintf("goong_proxy:%s", finalURL)
|
cacheKey := fmt.Sprintf("goong_proxy_v2:%s", finalURL)
|
||||||
|
|
||||||
if method == http.MethodGet {
|
if method == http.MethodGet {
|
||||||
var entry CacheEntry
|
var entry CacheEntry
|
||||||
|
|||||||
Reference in New Issue
Block a user