Check existance and write rights of cache folder.
Use fake cache backend if cache is not enabled.