Dashboard > blojsom > ... > Available Plugins > Conditional GET Plugin
  blojsom Log In   View a printable version of the current page.  
  Conditional GET Plugin
Added by David Czarnecki, last edited by David Czarnecki on Oct 21, 2004  (view change)
Labels: 
(None)

Description

The Conditional GET plugin reduces the bandwidth you send out from your blog for the flavors for which it is enabled. It works by examining various HTTP headers which indicate when the requesting client last polled your blog. This is quite useful for the various syndication formats that blojsom can produce such as RSS and Atom, as weblog aggregators are typically setup to poll syndication feeds at specific intervals. If nothing has changed in your blog, an HTTP 304 response code (Not Modified) is sent back to the requesting client. In the case of an HTTP 304 response code, the client will not process the request further.

This plugin is based on information from HTTP Conditional GET for RSS Hackers.

Installation and Setup

In your global /WEB-INF/plugin.properties file, add the following line:

conditional-get=org.blojsom.plugin.limiter.ConditionalGetPlugin

You may then add "conditional-get" to one of the flavor-based plugin chains. This would typically be done for the syndication feeds such as RSS and Atom. These plugin chains can be found in the individual user's plugin.properties file. For example:

atom.blojsom-plugin-chain=conditional-get,...

rss.blojsom-plugin-chain=conditional-get,...

rss2.blojsom-plugin-chain=conditional-get,...

Site running on a free Atlassian Confluence Open Source Project License granted to blojsom. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.4 Build:#809 Jun 12, 2007) - Bug/feature request - Contact Administrators