You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2008/02/24 12:38:00 UTC

[Solr Wiki] Update of "SolrConfigXml" by ThomasPeuss

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The following page has been changed by ThomasPeuss:
http://wiki.apache.org/solr/SolrConfigXml

The comment on the change is:
Added some comments about the values you can add to the Cache-Control header.

------------------------------------------------------------------------------
    </requestDispatcher>
  }}}
  
+ The value for ''max-age'' depends on how often your index changes and how long your application can live with an outdated cached response. To force a shared (or browser) cache to recheck that the cached response is still valid you can add the parameter ''must-revalidate'' to the Cache-Control header. According to the W3C specification ''max-age'' should not be higher than 31536000 (1 year). 
  
  == Request Handler Plug-in Section ==