I am java developer. I need to know how to set expiration time for caching.
Any help is appreciated.
Is there any best way to do this?
以下是在客户端执行此操作的方法: RESPONSE.setHeader('Cache-Control', 'max-age=86400, s-maxage=86400, public, must-revalidate, proxy-revalidate')
这是更多信息和示例: 来源和示例: