1.

How Can You Update Memcached When Data Changes?

Answer»

There are two ways to update Memcached when data changes:

By clearing the cache proactively: You can update memcached by clearing the cache when an insert or update is made.

By RESETTING the cache: It is slightly SIMILAR to the FIRST method but rather than just deleting the keys and waiting for the NEXT request for the data to REFRESH the cache, it resets the values after the insert or update.

There are two ways to update Memcached when data changes:

By clearing the cache proactively: You can update memcached by clearing the cache when an insert or update is made.

By resetting the cache: It is slightly similar to the first method but rather than just deleting the keys and waiting for the next request for the data to refresh the cache, it resets the values after the insert or update.



Discussion

No Comment Found