I just did a Google PageSpeed test of my hugo site hosted on GitHub pages and it says that I should serve static assets (3 files; TTF and CSS) with an efficient cache policy.
Is there a setting in the config.toml for that?
Thanks for your help!
You have to add cache settings in your
.htaccess (Apache) or
_headers (Netlify) or directives in your production server configuration.
AFAIK, you can’t configure the caching policy on github pages, so pagespeed always flags this problem. If it’s important you have to use a different hosting provider that allows you to configure server-side settings.