<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="https://nozaki.me/roller/roller-ui/styles/rss.xsl" media="screen"?><rss version="2.0" 
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:atom="http://www.w3.org/2005/Atom" >
<channel>
  <title>Kohei Nozaki&apos;s blog</title>
  <link>https://nozaki.me/roller/kyle/</link>
      <atom:link rel="self" type="application/rss+xml" href="https://nozaki.me/roller/kyle/feed/entries/rss?cat=Roller" />
    <description>Notes of my experiments</description>
  <language>en-us</language>
  <copyright>Copyright 2024</copyright>
  <lastBuildDate>Wed, 1 May 2024 08:28:13 +0000</lastBuildDate>
  <generator>Apache Roller 5.2.0</generator>
        <item>
    <guid isPermaLink="true">https://nozaki.me/roller/kyle/entry/disabling-roller-cache-for-development</guid>
    <title>Disabling Roller cache for development</title>
    <dc:creator>Kohei Nozaki</dc:creator>
    <link>https://nozaki.me/roller/kyle/entry/disabling-roller-cache-for-development</link>
        <pubDate>Fri, 27 Feb 2015 12:43:22 +0000</pubDate>
    <category>Roller</category>
    <category>roller</category>
            <description>&lt;div class=&quot;paragraph&quot;&gt;
&lt;p&gt;When I playing with Roller source code, Roller&amp;#8217;s caching mechanism is not comfortable because my changes are not affected until I redeploy  entire application. it destroys benefit of using JRebel. so I disabled Roller&amp;#8217;s caching mechanism with following definition in &lt;code&gt;roller.properties&lt;/code&gt;. it would work with &lt;code&gt;roller-custom.properties&lt;/code&gt; too.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&quot;literalblock&quot;&gt;
&lt;div class=&quot;content&quot;&gt;
&lt;pre&gt;cache.sitewide.enabled=false
cache.weblogpage.enabled=false
cache.weblogfeed.enabled=false
cache.planet.enabled=false
cache.salt.enabled=false&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;paragraph&quot;&gt;
&lt;p&gt;Also you need to disable 2nd level cache of EclipseLink. put following definition to &lt;code&gt;persistence.xml&lt;/code&gt;.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&quot;literalblock&quot;&gt;
&lt;div class=&quot;content&quot;&gt;
&lt;pre&gt;&amp;lt;property name=&quot;eclipselink.cache.shared.default&quot; value=&quot;false&quot;/&amp;gt;

&amp;lt;shared-cache-mode&amp;gt;NONE&amp;lt;/shared-cache-mode&amp;gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;paragraph&quot;&gt;
&lt;p&gt;Velocity cache too. configuration is available at &lt;code&gt;/app/src/main/webapp/WEB-INF/velocity.properties&lt;/code&gt;:&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&quot;literalblock&quot;&gt;
&lt;div class=&quot;content&quot;&gt;
&lt;pre&gt;theme.resource.loader.cache=false
roller.resource.loader.cache=false
class.resource.loader.cache=false
webapp.resource.loader.cache=false&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;paragraph&quot;&gt;
&lt;p&gt;Container&amp;#8217;s JSP cache too. for WildFly see &lt;a href=&quot;/roller/kyle/entry/exploded-deployment-for-wildfly-on&quot; class=&quot;bare&quot;&gt;/roller/kyle/entry/exploded-deployment-for-wildfly-on&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;</description>          </item>
  </channel>
</rss>