<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Wed, 19 Jun 2013 07:02:26 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[ServerGrove Blog: How to Create a Cache Warmer in Symfony2]]></title>
      <guid>http://www.phpdeveloper.org/news/17839</guid>
      <link>http://www.phpdeveloper.org/news/17839</link>
      <description><![CDATA[<p>
In <a href="http://blog.servergrove.com/2012/04/18/how-to-create-a-cache-warmer-in-symfony2/">this new post</a> from the ServerGrove blog <i>Ismael Ambrosi</i> shows how to create a "cache warmer" for a Symfony2 application - a handy tool that can pre-populate your applications cache with data you specify before it's needed by the app.
</p>
<blockquote>
The cache is a very important part of your Symfony application as it helps your web server to perform better by not executing unnecessary code on every request, this is especially true if your server is running with limited resources. Cache warming allows you to cache specific data in your application through the use of a CacheWarmer. Symfony 2 includes a cache warmer that helps you to store parts of your application in cache, before the application becomes available to the user.
</blockquote>
<p>
He shows how to create the "warmup" in an object extending the CacheWarmer to pull in content (in his case, just a text string) and write it out to a cache file automatically. Also included is the config updates you'll need to make to tell the Service Container about the Warmer.
</p>]]></description>
      <pubDate>Thu, 19 Apr 2012 09:09:56 -0500</pubDate>
    </item>
  </channel>
</rss>
