Forums: Open Discussion (Thread #22169)

ブラウザキャッシュの制御について (2009-03-27 15:59 by snaga #42799)

TERASOLUNA Server Framework for Javaのブラウザキャッシュについて、
フレームワークではキャッシュ制御の仕組みを持っているのでしょうか?

具体的には、Pragma: no-cache あるいは Cache-Control: no-cache ヘッダを
自動的に付加するような設定が存在しているのか?ということなのですが。

ご教授いただけますと助かります。よろしくお願いします。

Reply to #42799×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: ブラウザキャッシュの制御について (2009-04-01 11:18 by hachihachi #42879)

キャッシュ制御用のタグを付加するような機能はありませんが、
URLにランダム値を付加し、ブラウザにキャッシュされるのを防ぐ機能があります。

詳しくは機能説明書の下記の項目をご覧ください。
WK-03 キャッシュ避けformタグ機能
WK-04 キャッシュ避けリンク機能
Reply to #42799

Reply to #42879×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: ブラウザキャッシュの制御について (2009-04-01 11:38 by hachihachi #42881)

TERASOLUNA独自の機能ではありませんが、Strutsの機能で
キャッシュ制御のヘッダを付与する機能があります。
struts-config.xmlの<controller>要素のnocache属性をtrueに
設定することで、有効にすることができます。
Reply to #42799

Reply to #42881×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login