ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Changeset 7153


Ignore:
Timestamp:
May 12, 2008, 7:57:05 PM (11 years ago)
Author:
ebihara
Message:

#2383:Expiresヘッダを指定するのは、prototype.js などのライブラリに限定した

Location:
OpenPNE/branches/stable-2.12.x
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/stable-2.12.x/public_html/js/.htaccess

    r7141 r7153  
    11<Files ~ "\.js$">
    22    FileETag None
    3     <IfModule mod_expires.c>
     3</Files>
     4
     5<IfModule mod_expires.c>
     6    <Files "prototype.js">
    47        ExpiresActive On
    58        ExpiresDefault "access plus 10 years"
    6     </IfModule>
    7 </Files>
     9    </Files>
     10
     11    <Files "tiny_mce.js">
     12        ExpiresActive On
     13        ExpiresDefault "access plus 10 years"
     14    </Files>
     15
     16    <Files "tiny_mce_popup.js">
     17        ExpiresActive On
     18        ExpiresDefault "access plus 10 years"
     19    </Files>
     20
     21    <Files "Selection.js">
     22        ExpiresActive On
     23        ExpiresDefault "access plus 10 years"
     24    </Files>
     25
     26    <Files "editor_template.js">
     27        ExpiresActive On
     28        ExpiresDefault "access plus 10 years"
     29    </Files>
     30</IfModule>
  • OpenPNE/branches/stable-2.12.x/webapp/modules/admin/templates/inc_header.tpl

    r7141 r7153  
    1313({$custom_header|smarty:nodefaults})
    1414({/if})
    15 <script type="text/javascript" src="./js/pne.js?r7140"></script>
     15<script type="text/javascript" src="./js/pne.js"></script>
    1616</head>
    1717<body id="admin_page_({$CURRENT_ACTION})">
  • OpenPNE/branches/stable-2.12.x/webapp/modules/pc/templates/c_home.tpl

    r7141 r7153  
    4545({/foreach})
    4646({/strip})({/capture})
    47 <script type="text/javascript" src="js/show_flash.js?r7140"></script>
     47<script type="text/javascript" src="js/show_flash.js"></script>
    4848<script type="text/javascript">
    4949//<![CDATA[
  • OpenPNE/branches/stable-2.12.x/webapp/modules/pc/templates/common/layout.tpl

    r7141 r7153  
    1111<script type="text/javascript" src="./js/prototype.js?r7140"></script>
    1212<script type="text/javascript" src="./js/Selection.js?r7140"></script>
    13 <script type="text/javascript" src="./js/pne.js?r7140"></script>
     13<script type="text/javascript" src="./js/pne.js"></script>
    1414</head>
    1515<body id="pc_page_({$INC_HEADER_page_name})"><div id="Body">
  • OpenPNE/branches/stable-2.12.x/webapp/modules/pc/templates/h_home.tpl

    r7141 r7153  
    104104({/foreach})
    105105({/strip})({/capture})
    106 <script type="text/javascript" src="js/show_flash.js?r7140"></script>
     106<script type="text/javascript" src="js/show_flash.js"></script>
    107107<script type="text/javascript">
    108108//<![CDATA[
     
    177177({/foreach})
    178178({/strip})({/capture})
    179 <script type="text/javascript" src="js/show_flash.js?r7140"></script>
     179<script type="text/javascript" src="js/show_flash.js"></script>
    180180<script type="text/javascript">
    181181//<![CDATA[
     
    247247({/foreach})
    248248({/strip})({/capture})
    249 <script type="text/javascript" src="js/show_flash.js?r7140"></script>
     249<script type="text/javascript" src="js/show_flash.js"></script>
    250250<script type="text/javascript">
    251251//<![CDATA[
  • OpenPNE/branches/stable-2.12.x/webapp/modules/pc/templates/inc_f_home_h_prof.tpl

    r7141 r7153  
    9797({/foreach})
    9898({/strip})({/capture})
    99 <script type="text/javascript" src="js/show_flash.js?r7140"></script>
     99<script type="text/javascript" src="js/show_flash.js"></script>
    100100<script type="text/javascript">
    101101//<![CDATA[
     
    169169({/foreach})
    170170({/strip})({/capture})
    171 <script type="text/javascript" src="js/show_flash.js?r7140"></script>
     171<script type="text/javascript" src="js/show_flash.js"></script>
    172172<script type="text/javascript">
    173173//<![CDATA[
  • OpenPNE/branches/stable-2.12.x/webapp/modules/pc/templates/inc_tinymce_textarea.tpl

    r7151 r7153  
    11({if $smarty.const.OPENPNE_USE_DECORATION})
    2 <script type="text/javascript" src="./js/pne_decoration.js?r7140"></script>
     2<script type="text/javascript" src="./js/pne_decoration.js"></script>
    33<script type="text/javascript" src="./js/tiny_mce/tiny_mce.js?r7140"></script>
    44<script type="text/javascript">
     
    5656//]]>
    5757</script>
    58 <script type="text/javascript" src="./js/pc_emoji_palet/pc_emoji_palet.js?r7143"></script>
     58<script type="text/javascript" src="./js/pc_emoji_palet/pc_emoji_palet.js"></script>
    5959<input type="radio" name="mce_editor_mode_changer" id="mce_editor_mode_changer_1" onclick="pne_toggle_mce_editor('mce_editor_textarea')" checked="checked" /><label for="mce_editor_mode_changer_1">テキストモード</label>&nbsp;<input type="radio" name="mce_editor_mode_changer" id="mce_editor_mode_changer_2" onclick="pne_toggle_mce_editor('mce_editor_textarea')" /><label for="mce_editor_mode_changer_2">プレビューモード</label>
    6060<div id="mce_editor_buttonmenu">
  • OpenPNE/branches/stable-2.12.x/webapp_biz/modules/biz/templates/common/layout.tpl

    r7149 r7153  
    1111<script type="text/javascript" src="./js/prototype.js?r7140"></script>
    1212<script type="text/javascript" src="./js/Selection.js?r7140"></script>
    13 <script type="text/javascript" src="./js/pne.js?r7140"></script>
     13<script type="text/javascript" src="./js/pne.js"></script>
    1414</head>
    1515<body id="pc_page_({$INC_HEADER_page_name})"><div id="Body">
  • OpenPNE/branches/stable-2.12.x/webapp_biz/modules/pc/templates/h_home.tpl

    r7141 r7153  
    8686({/foreach})
    8787({/strip})({/capture})
    88 <script type="text/javascript" src="js/show_flash.js?r7140"></script>
     88<script type="text/javascript" src="js/show_flash.js"></script>
    8989<script type="text/javascript">
    9090//<![CDATA[
     
    163163({/foreach})
    164164({/strip})({/capture})
    165 <script type="text/javascript" src="js/show_flash.js?r7140"></script>
     165<script type="text/javascript" src="js/show_flash.js"></script>
    166166<script type="text/javascript">
    167167//<![CDATA[
     
    233233({/foreach})
    234234({/strip})({/capture})
    235 <script type="text/javascript" src="js/show_flash.js?r7140"></script>
     235<script type="text/javascript" src="js/show_flash.js"></script>
    236236<script type="text/javascript">
    237237//<![CDATA[
  • OpenPNE/branches/stable-2.12.x/webapp_biz/modules/pc/templates/inc_f_home_h_prof.tpl

    r7141 r7153  
    7979({/foreach})
    8080({/strip})({/capture})
    81 <script type="text/javascript" src="js/show_flash.js?r7140"></script>
     81<script type="text/javascript" src="js/show_flash.js"></script>
    8282<script type="text/javascript">
    8383//<![CDATA[
     
    155155({/foreach})
    156156({/strip})({/capture})
    157 <script type="text/javascript" src="js/show_flash.js?r7140"></script>
     157<script type="text/javascript" src="js/show_flash.js"></script>
    158158<script type="text/javascript">
    159159//<![CDATA[
Note: See TracChangeset for help on using the changeset viewer.