.sass-cache 中的文件是做什么用的? [英] What are the files in .sass-cache for?
问题描述
在第一次使用 Sass 之后,我注意到它在我的工作目录中留下了一个目录 .sass-cache
.我似乎无法使用其中的文件(在散列子目录中),那么这个目录有什么用?
After playing around with Sass for the first time, I noticed that it leaves a directory .sass-cache
behind in my working directory. I don't seem to be able to use the files inside it (in the hashed subdirectories), so what is this directory for?
我可以将其用作 VCS 吗?删除是否安全?
Can I use it as a VCS, of sorts? Is it safe to delete?
推荐答案
来自文档:
Sass 缓存已解析的文档,以便它们可以重复使用,而无需再次解析它们,除非它们已更改.
Sass caches parsed documents so that they can be reused without parsing them again unless they have changed.
它只是让编译速度更快.如果您删除它们,它们将在您下次编译时再次生成.
It just makes compiling faster. If you delete them they will just be generated again the next time you compile.
这篇关于.sass-cache 中的文件是做什么用的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!