babel/babel-loader

[feature request] Split cache files into subfolders to reduce number of files in a single folder

Open

#558 opened on Dec 30, 2017

View on GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (482 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (4,777 stars)
PR merge metrics
 (Avg merge 23h 26m) (2 merged PRs in 30d)

Description

I'm submitting a feature request

Current behavior:

Currently all outputs are stored into a single cache directory. On large projects and certain hardware this might have a negative impact on performances.

Expected/desired behavior:

Something that might remedy the situation is to write into subfolders that contain the first two characters of the key used for storing and use these for reading the cached output.

Contributor guide