/[drupal]/contributions/modules/boost/boost.admin.inc
ViewVC logotype

Diff of /contributions/modules/boost/boost.admin.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1.2.1.2.3.2.110, Tue Nov 10 21:50:32 2009 UTC revision 1.1.2.1.2.3.2.111, Wed Nov 11 08:14:03 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: boost.admin.inc,v 1.1.2.1.2.3.2.109 2009/11/09 23:47:30 mikeytown2 Exp $  // $Id: boost.admin.inc,v 1.1.2.1.2.3.2.110 2009/11/10 21:50:32 mikeytown2 Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 762  function boost_admin_boost_performance_p Line 762  function boost_admin_boost_performance_p
762      ),      ),
763      '#description'   => t('Uses <a href="!link">FileETag Directive</a> to set <a href="!about">ETags</a> for the files cached by Boost. <a href="!stack">More info on this subject</a>', array('!link' => url('http://httpd.apache.org/docs/trunk/mod/core.html#fileetag'), '!about' => url('http://en.wikipedia.org/wiki/HTTP_ETag'), '!stack' => url('http://stackoverflow.com/questions/tagged?tagnames=etag&sort=votes&pagesize=50'))),      '#description'   => t('Uses <a href="!link">FileETag Directive</a> to set <a href="!about">ETags</a> for the files cached by Boost. <a href="!stack">More info on this subject</a>', array('!link' => url('http://httpd.apache.org/docs/trunk/mod/core.html#fileetag'), '!about' => url('http://en.wikipedia.org/wiki/HTTP_ETag'), '!stack' => url('http://stackoverflow.com/questions/tagged?tagnames=etag&sort=votes&pagesize=50'))),
764    );    );
765      $form['htaccess']['boost_apache_xheader'] = array(
766        '#type'          => 'radios',
767        '#title'         => t('Boost Tags'),
768        '#default_value' => variable_get('boost_apache_xheader', 0),
769        '#options'       => array(
770          0 => 'Inject boost tags at the bottom of the file',
771          1 => 'Set Header and tags',
772          2 => 'Only Set the header',
773        ),
774        '#description'   => t('In order to identify that the page is being served from the cache Boost can: Set a comment at the bottom of the page, indicating that this page is cached by boost; It can also send out a header that will identify any files served from the boost cache; Or it can do both.'),
775      );
776    
777    // Clear database button    // Clear database button
778    $form['clear'] = array(    $form['clear'] = array(
# Line 961  function boost_admin_generate_htaccess($ Line 972  function boost_admin_generate_htaccess($
972      $string .= "    <IfModule mod_headers.c>\n";      $string .= "    <IfModule mod_headers.c>\n";
973      $string .= "      Header set Expires \"Sun, 19 Nov 1978 05:00:00 GMT\"\n";      $string .= "      Header set Expires \"Sun, 19 Nov 1978 05:00:00 GMT\"\n";
974      $string .= "      Header set Cache-Control \"no-store, no-cache, must-revalidate, post-check=0, pre-check=0\"\n";      $string .= "      Header set Cache-Control \"no-store, no-cache, must-revalidate, post-check=0, pre-check=0\"\n";
975        if (variable_get('boost_apache_xheader', 0) > 0) {
976          $string .= "      Header set X-Header \"Boost Citrus 1.8\"\n";
977        }
978      $string .= "    </IfModule>\n";      $string .= "    </IfModule>\n";
979      $string .= "  </FilesMatch>\n";      $string .= "  </FilesMatch>\n";
980    }    }

Legend:
Removed from v.1.1.2.1.2.3.2.110  
changed lines
  Added in v.1.1.2.1.2.3.2.111

  ViewVC Help
Powered by ViewVC 1.1.2