<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Disable server side cache]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=7501</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=7501&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Disable server side cache.]]></description>
		<lastBuildDate>Sun, 04 Nov 2018 01:29:57 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Disable server side cache]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=33136#p33136</link>
			<description><![CDATA[<p>@poncho1234: You are right - the company/#/js_cache/1/* vanishes.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Sun, 04 Nov 2018 01:29:57 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=33136#p33136</guid>
		</item>
		<item>
			<title><![CDATA[Re: Disable server side cache]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=33129#p33129</link>
			<description><![CDATA[<p>@joe, @apmuthu, This is already in core - click the &#039;Update&#039; button in &#039;Preferences&#039;</p><p>The above mod just lets you do it in one click and stays on current page instead of three clicks (-&gt;Preferences click Update) and changing page to Preferences, then at least one click to return to the page you were on.</p><p>If you&#039;re making changes to css it saves a few clicks and time everytime you update</p>]]></description>
			<author><![CDATA[null@example.com (poncho1234)]]></author>
			<pubDate>Sat, 03 Nov 2018 15:16:38 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=33129#p33129</guid>
		</item>
		<item>
			<title><![CDATA[Re: Disable server side cache]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=33128#p33128</link>
			<description><![CDATA[<p>I will have a look into this.</p><p>Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Sat, 03 Nov 2018 14:20:15 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=33128#p33128</guid>
		</item>
		<item>
			<title><![CDATA[Re: Disable server side cache]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=33118#p33118</link>
			<description><![CDATA[<p>@joe: can this be generically updated in the core?</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Sat, 03 Nov 2018 08:00:09 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=33118#p33118</guid>
		</item>
		<item>
			<title><![CDATA[Re: Disable server side cache]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=33108#p33108</link>
			<description><![CDATA[<p><strong>Not for production</strong> </p><p>Whilst looking for something else I discovered there were already a few functions in FA that clear the cache</p><p>So added to renderer.php</p><p>If you want an icon:-<br /></p><div class="codebox"><pre><code>File: \themes\default\renderer.php
87:                 $dimg = &quot;&lt;img src=&#039;$path_to_root/themes/&quot;.user_theme().&quot;/images/remove.png&#039; style=&#039;width:14px;height:14px;border:0;vertical-align:middle;&#039; alt=&#039;&quot;._(&#039;Delete Cache&#039;).&quot;&#039;&gt;&amp;nbsp;&amp;nbsp;&quot;;</code></pre></div><p>Then add:-<br /></p><div class="codebox"><pre><code>File: \themes\default\renderer.php
097:                 function delete_company_cache(){
098:                     flush_dir(company_path().&#039;/js_cache&#039;);
099:                 }
100:                 echo &quot;&lt;a class=&#039;shortcut&#039; href=&#039;?delete_company_cache=true&#039;&gt;$dimg&quot; . _(&quot;Delete Cache&quot;) . &quot;&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;\n&quot;;
101:                 
102:                 if(isset($_GET[&#039;delete_company_cache&#039;])){
103:                     delete_company_cache();
104:                 }</code></pre></div><p>It does not disable cache, just clears cache just for the company you are logged on to when you want from any page</p>]]></description>
			<author><![CDATA[null@example.com (poncho1234)]]></author>
			<pubDate>Fri, 02 Nov 2018 16:50:34 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=33108#p33108</guid>
		</item>
		<item>
			<title><![CDATA[Re: Disable server side cache]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=31607#p31607</link>
			<description><![CDATA[<p>Thanks apmuthu, that&#039;s a very good idea, i&#039;ll check those out tomorrow</p>]]></description>
			<author><![CDATA[null@example.com (poncho1234)]]></author>
			<pubDate>Wed, 09 May 2018 04:07:25 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=31607#p31607</guid>
		</item>
		<item>
			<title><![CDATA[Re: Disable server side cache]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=31601#p31601</link>
			<description><![CDATA[<p>Have a cron job clear the tmp folder where the cache gets stored or disable caching in the apache server config.</p><p>Refer:<br />http://bertanguven.com/disable-caching-of-assets-in-apache<br />https://stackoverflow.com/questions/11532636/how-to-prevent-http-file-caching-in-apache-httpd-mamp<br />https://gist.github.com/JamieMason/3245483</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Tue, 08 May 2018 19:28:46 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=31601#p31601</guid>
		</item>
		<item>
			<title><![CDATA[Disable server side cache]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=31590#p31590</link>
			<description><![CDATA[<p>Is there a way to disable server side caching temporarily for development?<br />Its time consuming to delete the server side cache after every change in code</p>]]></description>
			<author><![CDATA[null@example.com (poncho1234)]]></author>
			<pubDate>Mon, 07 May 2018 20:52:37 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=31590#p31590</guid>
		</item>
	</channel>
</rss>
