<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/tags/cache</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Fri, 24 May 2013 14:41:55 GMT</pubDate>
<item>
<title>(PHP) Simple PHP cache class - peckham</title>
<link>http://snipplr.com/view/67728/simple-php-cache-class/</link>
<description><![CDATA[ <p>A simple class to cache files (or other results) with PHP.</p> ]]></description>
<pubDate>Sun, 14 Oct 2012 01:16:55 GMT</pubDate>
<guid>http://snipplr.com/view/67728/simple-php-cache-class/</guid>
</item>
<item>
<title>(PHP) Query posts and cache the query - Mat_</title>
<link>http://snipplr.com/view/67580/query-posts-and-cache-the-query/</link>
<description><![CDATA[ <p>Snippet to show a simple use of the transient API when querying posts.</p> ]]></description>
<pubDate>Wed, 03 Oct 2012 19:56:43 GMT</pubDate>
<guid>http://snipplr.com/view/67580/query-posts-and-cache-the-query/</guid>
</item>
<item>
<title>(PHP) No Cache HTTP Headers - ryantxr</title>
<link>http://snipplr.com/view/65544/no-cache-http-headers/</link>
<description><![CDATA[ <p>HTTP headers to disable caching.</p> ]]></description>
<pubDate>Mon, 11 Jun 2012 22:38:26 GMT</pubDate>
<guid>http://snipplr.com/view/65544/no-cache-http-headers/</guid>
</item>
<item>
<title>(PHP) Base display function to use Joomla! cache - kevincam</title>
<link>http://snipplr.com/view/65293/base-display-function-to-use-joomla-cache/</link>
<description><![CDATA[ <p>This is a base function to use with Joomla! to display the view using the Joomla cache system.</p> ]]></description>
<pubDate>Thu, 31 May 2012 21:33:20 GMT</pubDate>
<guid>http://snipplr.com/view/65293/base-display-function-to-use-joomla-cache/</guid>
</item>
<item>
<title>(Python) Simple SVG Streaming Server - weilawei</title>
<link>http://snipplr.com/view/64802/simple-svg-streaming-server/</link>
<description><![CDATA[ <p>This is a simple SVG streaming server, running on the bottle microframework. It has 3 utility functions which are used as decorators on routes. They enable timing a route, caching a route, and creating a route which provides a Cairo context which is then converted to a Base64 encoded data URL with an SVG image. In another snippet, I give the client-side implementation using HTML, Javascript/jQuery, and Canvas.

This sample can currently display a clock (clock.svg) (incorrectly rotated 90 degrees...but it wasn't enough of a priority to fix. it's just an example.), show a static line of text (window.svg), or serve static files (the necessary client-side JS and HTML).

The client is at http://snipplr.com/view/64803/simple-svg-streaming-client/.</p> ]]></description>
<pubDate>Mon, 07 May 2012 00:39:24 GMT</pubDate>
<guid>http://snipplr.com/view/64802/simple-svg-streaming-server/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 - Cached image from URL - spawnrider</title>
<link>http://snipplr.com/view/61694/as3--cached-image-from-url/</link>
<description><![CDATA[ <p>Retrieve remote image from an URL and store it locally.
Use this class for managing offline mode.</p> ]]></description>
<pubDate>Tue, 06 Dec 2011 09:50:22 GMT</pubDate>
<guid>http://snipplr.com/view/61694/as3--cached-image-from-url/</guid>
</item>
<item>
<title>(PHP) Simplepie with fixed Cache directory handling - iroybot</title>
<link>http://snipplr.com/view/60572/simplepie-with-fixed-cache-directory-handling/</link>
<description><![CDATA[ <p>Simplepie per default uses relative paths to generate the cache filename. Whenever I  use Simplepie I run into the same problem, that the cache directory can't be located. This is why I modify the file everytime. Here's my version (with a hardcoded path which you'll want to replace with your desired location).</p> ]]></description>
<pubDate>Sun, 06 Nov 2011 07:00:30 GMT</pubDate>
<guid>http://snipplr.com/view/60572/simplepie-with-fixed-cache-directory-handling/</guid>
</item>
<item>
<title>(Apache) htaccess site caching - czachor</title>
<link>http://snipplr.com/view/60517/htaccess-site-caching/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 04 Nov 2011 00:20:44 GMT</pubDate>
<guid>http://snipplr.com/view/60517/htaccess-site-caching/</guid>
</item>
<item>
<title>(PHP) Simple PHP Page Caching Technique - Abe</title>
<link>http://snipplr.com/view/59612/simple-php-page-caching-technique/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 11 Oct 2011 02:20:20 GMT</pubDate>
<guid>http://snipplr.com/view/59612/simple-php-page-caching-technique/</guid>
</item>
<item>
<title>(PHP) Cache favicon from google service - szpunk</title>
<link>http://snipplr.com/view/59336/cache-favicon-from-google-service/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 02 Oct 2011 20:51:35 GMT</pubDate>
<guid>http://snipplr.com/view/59336/cache-favicon-from-google-service/</guid>
</item>
<item>
<title>(PHP) Cache PHP - Jotape</title>
<link>http://snipplr.com/view/59260/cache-php/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 29 Sep 2011 22:10:52 GMT</pubDate>
<guid>http://snipplr.com/view/59260/cache-php/</guid>
</item>
<item>
<title>(Apache) Htaccess Speed Boost - justinscheetz</title>
<link>http://snipplr.com/view/58392/htaccess-speed-boost/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 02 Sep 2011 12:57:31 GMT</pubDate>
<guid>http://snipplr.com/view/58392/htaccess-speed-boost/</guid>
</item>
<item>
<title>(JavaScript) NodeJS header cache control - rod</title>
<link>http://snipplr.com/view/55268/nodejs-header-cache-control/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 15 Jun 2011 21:42:59 GMT</pubDate>
<guid>http://snipplr.com/view/55268/nodejs-header-cache-control/</guid>
</item>
<item>
<title>(Bash) ART: Personal Internet Cache Archive - valessiobrito</title>
<link>http://snipplr.com/view/53891/art-personal-internet-cache-archive/</link>
<description><![CDATA[ <p>Inspired: http://evan-roth.com/personal-internet-cache-archive/

In the "style=" you can adjust the "height: ??px" according to the quantity of items in your cache.</p> ]]></description>
<pubDate>Sat, 21 May 2011 02:24:14 GMT</pubDate>
<guid>http://snipplr.com/view/53891/art-personal-internet-cache-archive/</guid>
</item>
<item>
<title>(PHP) Wordpress: Cache your $wpdb queries - prwhitehead</title>
<link>http://snipplr.com/view/52208/wordpress-cache-your-wpdb-queries/</link>
<description><![CDATA[ <p>Cache the results of your wordpress database queries for faster page generation</p> ]]></description>
<pubDate>Sun, 17 Apr 2011 01:35:49 GMT</pubDate>
<guid>http://snipplr.com/view/52208/wordpress-cache-your-wpdb-queries/</guid>
</item>
<item>
<title>(PHP) Cache - leonard_mocanu</title>
<link>http://snipplr.com/view/52018/cache/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 13 Apr 2011 15:39:24 GMT</pubDate>
<guid>http://snipplr.com/view/52018/cache/</guid>
</item>
<item>
<title>(jQuery) Cache AJAX Response - crypticsoft</title>
<link>http://snipplr.com/view/51183/cache-ajax-response/</link>
<description><![CDATA[ <p>Basically, if the value has already been requested once before it's returned immediately from the cache. Otherwise, an AJAX request fetches the data and adds it to the cache. The $.when/.then doesn't care about any of this; all you need to be concerned about is using the response, which is passed to the .then() handler in both cases.

Deferreds are perfect for when the task may or may not operate asynchronously, and you want to abstract that condition out of the code.</p> ]]></description>
<pubDate>Mon, 28 Mar 2011 01:28:32 GMT</pubDate>
<guid>http://snipplr.com/view/51183/cache-ajax-response/</guid>
</item>
<item>
<title>(JavaScript) Javascript epoch time - samwa</title>
<link>http://snipplr.com/view/50930/javascript-epoch-time/</link>
<description><![CDATA[ <p>returns the number of seconds since 1 jan 1970
This is useful for generating a number in a url to stop a page from caching</p> ]]></description>
<pubDate>Tue, 22 Mar 2011 02:47:40 GMT</pubDate>
<guid>http://snipplr.com/view/50930/javascript-epoch-time/</guid>
</item>
<item>
<title>(JavaScript) Application cache loading status reporter for HTML5 / Javascript - miohtama</title>
<link>http://snipplr.com/view/50482/application-cache-loading-status-reporter-for-html5--javascript/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 10 Mar 2011 22:49:29 GMT</pubDate>
<guid>http://snipplr.com/view/50482/application-cache-loading-status-reporter-for-html5--javascript/</guid>
</item>
<item>
<title>(PHP) Disable browser cache - mfigge</title>
<link>http://snipplr.com/view/49196/disable-browser-cache/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 18 Feb 2011 13:29:06 GMT</pubDate>
<guid>http://snipplr.com/view/49196/disable-browser-cache/</guid>
</item>
</channel>
</rss>