View Source Plausible.Shield.IPRuleCache (Plausible v0.0.1)
Allows retrieving IP Rules by domain and IP
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