Skip to main content

revalidate_path

Function revalidate_path 

Source
pub async fn revalidate_path(path: &str)
Expand description

Re-render path on its next request (pages rendered statically) and drop the matching data-cache entry. Usable from API routes and actions.