=== Facebook Fan Box Cache === Contributors: dilbert4life, electriceasel Tags: facebook, cache, iframe Requires at least: 3.0 Tested up to: 3.0.4 Stable tag: 0.2b Are you tired of using FBML or an iframe to load in your Facebook Fan Box / Like Box? Me too. So I wrote this plugin that takes care of the issue. == Description == This plugin was written to take care of a serious issue. We were getting horrible load times on any page that contained the Facebook Fan Box iframe code. Especially during the evenings when everyone else in the world AND their mother was on Facebook playing Farmville and asking ME to join them. I wanted nothing of it, and I didn't want my website to suffer the consequences. So after some research, I wrote up this plugin. Now, you have got to give credit where credit is due, so I must say that this plugin is a WordPress adaptation / implementation of code inspired from my reading of [this post by Aaron Saray.](http://aaronsaray.com/blog/2010/04/27/load-facebook-fanbox-faster-by-caching-it/ "Aaron Saray"). It isn't cut and paste, but this code is based off of his code. Check the post on this plugin over at our site, [Electric Easel](http://www.electriceasel.com/plugins/wordpress/plugin-facebook-fan-box-cache "Facebook Fan Box Cache"), for instructions, updates, and other news. Features: * Reduce page load time on pages that would normally contain your iframe or FBML code * Shortcode for embedding into a page * FB Cache Widget (Default 240px wide) A few notes about this plugin: * This does not cache images locally. It only caches the generated HTML of the initial frame cURL call. Images are still pulled from Facebook. (see To Do) * This plugin requires PHP5 and cURL to be enabled on your server. == Installation == 1. Go to WordPress Dashboard 2. Click "Plugins" 3. Click "Add New" 4. Type "Facebook Fan Box Cache" in the input box. 5. Click "Search" 6. Click "Install" on the plugin that is by Don Gilbert & ElectricEasel (if you want this one) == Screenshots == 1. The plugin's admin screen 2. Widget options 3. Using the shortcode == Frequently Asked Questions == = Does this plugin cost anything? = No. That's why it's hosted here. And because we're awesome. = What about foo bar? = What about it? == Changelog == = 0.2b = Patched security hole where web user could view contents of cache directory. Files added: `cache/index.php` = 0.1b = Initial release. Please [let me know](http://www.electriceasel.com/contact/ "Electric Easel Chicago Web Design") if you find any issues. == To Do == = Easy = 1. Utilize WP_Http instead of strictly cURL 2. Allow for custom expiration / renewal times. 3. Allow for manual cache refresh 4. Add "Disable inline CSS" to widget options 5. Add option to allow custom width (right now it defaults to 240px) 6. Optimize Code Base = Hard = 1. Enable Caching of images = Considering = 1. Utilizing [cSprites](http://www.mummey.org/csprites/ "cSprites") on cached images