In the Server Configuration > General > Expires Settings > Expires By Type field, values of 7d, i.e., 7 days, are provided for the caching policy. Or, in a panel other than CyberPanel, it might display different values. We modify the logic as shown below. 1 month also gives an error in PageSpeed. For this reason, I use it as 1 year.
For 30 days;
image/*=A2592000, text/css=A2592000, application/x-javascript=A2592000, application/javascript=A2592000, font/*=A2592000, application/x-font-ttf=A2592000
For 1 year;
Instead of 30 days, we can set the cache policy to 1 year by changing the 2592000 figures.
image/*=A31536000, text/css=A31536000, application/x-javascript=A31536000, application/javascript=A31536000, font/*=A31536000, application/x-font-ttf=A31536000
The values are in milliseconds.