Increase Analytics TTL

Hello fellow developers,
I am in the process of optimising my site’s performance and one of things on my list are 3rd-party assets and their caching.

Luckily, the only 3rd-party asset and HTTP request is the Analytics beacon ( :slight_smile:
By checking its headers, I noticed its TTL is set to 24h so I was wondering if it was possible to increase that time?

Note: since the file is served from a 3rd-party domain, the Cache-control HTTP header wouldn’t work so any solution/advice is appreciated.

P.S. maybe allow the developers to control its TTL?


I did try to use Cache rules to override the TTL but that didn’t work… assuming because it’s not served through my domain…