Repopulate cache after a deploy

I am planning to run PageSpeed Insights command line tool after every deploy to repopulate cached files before visiting them in browser to prevent first visitors slow load. Does cloudflare cache files this way?

This is the tool I want to use:
Command line example: psi

It only populates that page’s resources, and only at the datacenter closest to the app hitting that URL. So if I want to repopulate my local org’s site, I need to Page Test from the city closest to me (hopefully there is a city close to me).

Remember that just because you repopulated the cache, that file can still get kicked out of the cache after a few days if nobody else visits it.

I see. Thanks @sdayman

1 Like

This topic was automatically closed after 30 days. New replies are no longer allowed.