APC implementation

- filecache implementation removed
- fixed different behaviour of DB implementation