Skip to content

Conversation

@attakei
Copy link
Owner

@attakei attakei commented Dec 21, 2025

Overview

This is to have new property _expired for handling cache.

Description

Currently, content classes has cache_age property that is declared on oEmbed specs.
This value is lifetime (relative time), and is not timestamp (absolute time).

The suggested cache lifetime for this resource, in seconds. Consumers may choose to use this value or not.

FROM: 2.3.4. Response parameters in oEmbed website

This PR is to define _expired property that saves timestamp when it will be invalid as cache.

Refs

@attakei attakei force-pushed the feature/expired-property branch from 5c150b4 to 744512d Compare December 21, 2025 06:28
@attakei attakei marked this pull request as ready for review December 21, 2025 06:31
@attakei attakei merged commit 51d3397 into main Dec 21, 2025
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants