There are two ways of updating the Memcached when changes are made to the PHP code:
Proactively Clearing the Cache – This means clearing the cache when an insert or update is made
Resetting the Cache – Reset the values once the insert or update is made