<?xml version="1.0" encoding='utf-8'?>
<?xml-stylesheet type="text/xsl" href="https://nozaki.me/roller/roller-ui/styles/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom">
    <title type="html">Kohei Nozaki&apos;s blog</title>
    <subtitle type="html">Notes of my experiments</subtitle>
    <id>https://nozaki.me/roller/kyle/feed/entries/atom</id>
            <link rel="self" type="application/atom+xml" href="https://nozaki.me/roller/kyle/feed/entries/atom?cat=Roller" />
        <link rel="alternate" type="text/html" href="https://nozaki.me/roller/kyle/" />
        <updated>2024-05-01T08:28:13+00:00</updated>
    <generator uri="http://roller.apache.org" version="5.2.0">Apache Roller</generator>
        <entry>
        <id>https://nozaki.me/roller/kyle/entry/disabling-roller-cache-for-development</id>
        <title type="html">Disabling Roller cache for development</title>
        <author><name>Kohei Nozaki</name></author>
        <link rel="alternate" type="text/html" href="https://nozaki.me/roller/kyle/entry/disabling-roller-cache-for-development"/>
        <published>2015-02-27T12:43:22+00:00</published>
        <updated>2015-02-28T06:01:38+00:00</updated> 
        <category term="Roller" label="Roller" />
        <category term="roller" scheme="http://roller.apache.org/ns/tags/" />
        <content type="html">&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;</content>
    </entry>
</feed>

