Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个模块化的 Sinatra 应用程序,在 nginx 上运行 Phusion Passenger。当我更改我的应用程序(特别是一些用于生成页面的 YAML 文件)时,我希望能够只清除我的缓存中受影响的部分(并将其他所有内容/public单独保留——我知道我可以清除整个缓存,但我希望不要)。
/public
谢谢!
你可以:
然后,您可以只清除 yaml 生成的内容的缓存