# Serve static assets with an efficient cache policy - woff2 CSS - pagespeed google

**URL:** <https://community.hubspot.com/t/serve-static-assets-with-an-efficient-cache-policy-woff2-css-pagespeed-google/68445>\
**Category:** CMS Development\
**Tags:** css\
**Created:** [November 2, 2022, 11:01pm UTC](https://community.hubspot.com/t/serve-static-assets-with-an-efficient-cache-policy-woff2-css-pagespeed-google/68445 "2022-11-02T23:01:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jbeltran73](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jbeltran73/32/196772_2.png) [@jbeltran73](https://community.hubspot.com/u/jbeltran73)\
**Post date:** [November 2, 2022, 11:01pm UTC](https://community.hubspot.com/t/serve-static-assets-with-an-efficient-cache-policy-woff2-css-pagespeed-google/68445/1 "2022-11-02T23:01:04Z")

</div>

Hello, I’ve almost got the eight 100’s in the pagespeed.

I send you screenshot.

The only modification that I can’t achieve is to load woff2 files cache as 30days.

Where can I modify this? The only way I see it’s creating a Child theme and edit the CSS there?

Any solutions without creating a child?

Thank you

Pd: here is the error

 ![jbeltran73_0-1667429998431.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/9/1/91fa5568ac55c2efe19197d5214dbd95a4e1cc4c.png)

 ![jbeltran73_1-1667430013961.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/5/b/5b0e2dcb79c8b78e6f993001b88626e0604d2af1.png)

 ![jbeltran73_2-1667430025674.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/9/7/97b87009894702ad88355f00a222452a4aacd3d2.png)

---

<div class="post-metadata">

**Author:** ![piersg](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/piersg/32/99782_2.png) [@piersg](https://community.hubspot.com/u/piersg)\
**Post date:** [November 3, 2022, 12:09pm UTC](https://community.hubspot.com/t/serve-static-assets-with-an-efficient-cache-policy-woff2-css-pagespeed-google/68445/2 "2022-11-03T12:09:59Z")

</div>

Hubspot automatically sets a cache time on served assets, so it’s not possible to change the cache policy for Hubspot files I’m afraid.

---

<div class="post-metadata">

**Author:** ![jbeltran73](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jbeltran73/32/196772_2.png) [@jbeltran73](https://community.hubspot.com/u/jbeltran73)\
**Post date:** [November 4, 2022, 9:07am UTC](https://community.hubspot.com/t/serve-static-assets-with-an-efficient-cache-policy-woff2-css-pagespeed-google/68445/3 "2022-11-04T09:07:42Z")

</div>

Thank you! is this 100% sure?
