Can I control caching duration for specific files on GitHub Pages?

I’m working on a GitHub Pages website and I want to configure custom cache expiration times for certain assets. Specifically, I need to set longer cache durations for font files like Roboto.woff2 and image files such as logo.png. I’d like these files to be cached by browsers for about 12 months to improve loading performance. Is this possible to do without any paid services? I’ve been looking through the GitHub Pages documentation but can’t find clear instructions on how to set custom cache headers. Any help would be appreciated!

totally feel ya, cache control on GitHub Pages can be a pain! using Cloudflare is a solid choice. it gives you the boost you need. hope it works out for ya!