Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I was wondering what processes exactly use the cache directory inside my theme's directory. More specifically, I am wondering if I should add any of those files to my git repo.

share|improve this question
    
What theme are you using? Without knowing, it's hard to say for sure, but, as a rule of thumb, files in a directory named "cache" typically do not need to be added to an SCM repo. –  Devin Humbert Mar 10 '12 at 8:35
add comment

1 Answer

up vote 1 down vote accepted

If you use someway "compilable" WordPress theme (are they exist?!) cache-dir may contain theme-files, processed by some tools and prepared for using by httpd-server of site.

As all and any artifacts, constructed from versioned data, these files can and have be excluded from versioning - everybody will be able to rebuild these files from versioned source files

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.