Update cache.php - bug with html encode/decode

Hello, i add second and third argument to htmlentities/html_entity_decode action with data. This allow serialize/unserialize correct, with chars like Japanese, Polish and etc.