Skip to main content

catalog_publication_changed

Function catalog_publication_changed 

Source
pub(crate) fn catalog_publication_changed(
    engine: &Engine,
    catalog: &CatalogSnapshot,
) -> bool
Expand description

Republishing recompiles every model, so it happens only when the models could differ: a new catalog revision or a change in availability. A server confirming the cached body (source cache becoming network) is not one.