Skip to content

github.com/gogf/gf/v2/net/ghttp: issue Is there a way to clear the contents of “Server.serveCache ”? #4343

@jicg

Description

@jicg

What do you want to ask?

Is there a way to clear the contents of “Server.serveCache ”?
有办法清除 ghttp.Server中的serveCache的内容吗?
服务起来后,动态添加路由方法,程序会先去取 serveCache的缓存的旧的路由信息, 新加的路由没法立即生效 。

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions