## Overview On spec of oEmbed, `cache_age` is defined in response parameters. > The suggested cache lifetime for this resource, in seconds. Consumers may choose to use this value or not. I want to use as all as possible if there are defined spec. ## Explains ### CLI ```console # Be explicitly by option arguments > oembed.py --use-cache http://example.com # Refer config file for oEmbedPy > cat $HOME/.local/etc/oembedpy.conf use_cache = true cache_expired = 3600 > oembed.py http://example.com ``` ### Sphinx extension ```python oembedpy_use_cache = True oembedpy_cache_storage = "$HOME/.local/var/oembedpy/cache.db" ```
Activity