C++ compile time

Hi .
in my nodeMcu project every time i want to build my code, the c++ compiler took about 30 seconds.
the compiler goes and build all the builtin libraries every time.
there is any solution to cache things that are repetitive and decrease compile time???

PlatformIO already uses caching to only recompile changed files, or everything upon the change of the platformio.ini. If you have a problem with a specific project constantly rebuilding from scratch, please upload the entire project and the procedure to reproduce the problem.