Just want to know about _cache Directory which is generating under [root]/pub/static/

I have noticed that once upgrades, compile & deployed command done through CLI then _cache directory is creating.

What is the purpose of this _cache directory?

Is it Specific for Production mode?

Will it help to increase performance of JS and CSS?

Thanx in Advance!!


_cache folder at pub/static is created when you enable CSS/Js minify or merge.

During Static content deply if this merge/minify setting enables then the merge and minify CSS and js is generates at the store at pub/static/_cache and it creates Website Speed.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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