added APC cache if it exists, fallback to filecache