Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はJava開発者です。キャッシュの有効期限を設定する方法を知る必要があります。
どんな助けでも大歓迎です。
これを行う最善の方法はありますか?
クライアント側でそれを行う方法は次のとおりです: RESPONSE.setHeader('Cache-Control', 'max-age=86400, s-maxage=86400, public, must-revalidate, proxy-revalidate')
ここに詳細と例があります: ソースと例: