How to correctly configure ls cache module

Hi friends how to correctly configure ls cache module with this parameter: Cache-Control: max-age=31536000
How i understand it is done in httaccess file. I use joomla and free cyberpanel version so in module there is not much to configure

<IfModule LiteSpeed>
CacheLookup on

I achived google page speed score 100/100 but this is last thing to do.
"Configure your server to return the Cache-Control HTTP response header:
Cache-Control: max-age=31536000

I would appreciate any help. Thanks

Also can i use redis together with ls cache module?

This can help for your cache-control issue: Cache | Configuration | LiteSpeed Web ADC | LiteSpeed Documentation

Yes, redis can be used together with LS cache

What ever I try I can not increase max-age=604800 for static files. It is 7 days. I do not understand from where is this caching time.

Login to Litespeed web panel by appending port 7080 after your server IP
There you will get loads of options to configure things. Try there.

And by the way, stressing too much on pagespeed insights is useless. You can google it and many sensible developers will guide you to not stress too much into pagespeedinsights. If you are getting 100 score, its already more than enough.