Finish precaching code

Version: 1.prealpha.01.07

Signed-off-by: GreatEmerald <pastas4@gmail.com>