View Source Plausible.Shield.PageRuleCache (Plausible v0.0.1)
Allows retrieving Page Rules by domain
Summary
Functions
Ensures the cache has non-zero size unless no items exist. Useful for orchestrating app startup to prevent the service going up asynchronously with an empty cache.
Functions
@spec child_spec(Keyword.t()) :: Supervisor.child_spec()
Ensures the cache has non-zero size unless no items exist. Useful for orchestrating app startup to prevent the service going up asynchronously with an empty cache.
@spec refresh_all(Keyword.t()) :: :ok
@spec refresh_updated_recently(Keyword.t()) :: :ok