small refactoring #dba #cache #php #coderwall