Cache css attribute background-image