Blog, Website & Page Publishing

CWoods
Member

What determines server side page caching?

The main pages on my site are never cached by Hubspot. They take 1.7 - 2 second to generate and always generate the following headers:

  • cache-control: s-maxage=0,max-age=0
  • cf-cache-status: MISS

I have blog pages that are delivered by the Hubspot (Cloudflare) cache in < 200 ms.

The relevant http headers:

  • cache-control: s-maxage=10800, max-age=0
  • cf-cache-status: HIT

Any thoughts on how I can get my home page and top level pages to get served from the Cloudflare cache?  They aren't changing, and I can't really see any reason why Hubspot would be forcing them to generate dynamically every time?

0 Upvotes
1 Reply 1
CWoods
Member

What determines server side page caching?

I have a top level page that uses the the exact same template as another top level page. The content is very similar. One gets cached and served ver quickly... the other doesn't.  I'm perplexed.

0 Upvotes