The put() method of the Cache interface allows key/value pairs to be added to the current Cache object.
put()
MDN Reference