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,...