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.
据我所知,Symfony 项目中的缓存文件夹(位于应用程序、配置、数据库和其他文件夹中)只是存储文件夹。我可以选择不将其签入我的源代码管理吗?我的行为是否会对我的入住完整性产生不利影响?
您可以删除缓存目录的内容,但不能删除目录本身。缓存文件夹必须具有特殊权限,以便用户和网络服务器都可以写入。因此,您应该让源代码管理忽略缓存文件夹中的所有内容,而不是缓存文件夹本身。