def put(self, key, val, minutes):
        """
        Store an item in the cache.

        :param key: The cache key
        :type key: str

        :param val: The cache value
        :type val: mixed

        :param minutes: The lifetime in minutes of the cached value
        :type minutes: int|datetime
        """
        minutes = self._get_minutes(minutes)

        if minutes is not None:
            self._store.put(key, val, minutes)