Skip to main content

max_unsigned_variants

Function max_unsigned_variants 

Source
pub fn max_unsigned_variants() -> usize
Expand description

Without a strict key, the most distinct renditions unsigned anonymous requests may cause to exist for one image (#643): RCMS_RENDITION_MAX_UNSIGNED, else DEFAULT_MAX_UNSIGNED_VARIANTS. Sizes already generated keep serving; a new one past the cap gets 429. Signed URLs (every image URL the CMS renders) never count against it, so a visitor can’t use up the slots a page needs. Signed-in editors are not capped.