<div dir="ltr">We have been using a database cache with vtiger for a little over a year now. Immediately after encapsulating user privileges (patch submitted as Trac 7342 [1]), we replaced the user_privileges files on disk with an ADOdb cache (patch submitted as Trac 7379 [2]).  The default cache is a file cache, but you can easily configure memcache [3], or roll your own with the caching API [4].<div>
<div>
<br></div><div>[1] <a href="http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/7342" target="_blank">http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/7342</a><br></div><div>[2] <a href="http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/7379" target="_blank">http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/7379</a></div>
<div>[3] <a href="http://phplens.com/lens/adodb/docs-adodb.htm#memcache">http://phplens.com/lens/adodb/docs-adodb.htm#memcache</a><br>
<div>[4] <a href="http://phplens.com/lens/adodb/docs-adodb.htm#cacheapi" target="_blank">http://phplens.com/lens/adodb/docs-adodb.htm#cacheapi</a></div><div><div><br></div></div></div></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Fri, Mar 22, 2013 at 12:13 AM, Prasad <span dir="ltr"><<a href="mailto:prasad@vtiger.com" target="_blank">prasad@vtiger.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Adam,<div><br></div><div>Can you share more details on the database cache you are referring to.</div><div>Any specific changes you have tried / configured.</div><div><br></div><div>Regards,</div><div>Prasad</div><div><div class="im">
<br clear="all">

<div><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px"><b>Connect with us on: </b><a href="http://twitter.com/vtigercrm" style="color:rgb(0,0,204)" target="_blank">Twitter</a> <b>I</b> <a href="http://www.facebook.com/pages/vtiger/226866697333578?sk=wall" style="color:rgb(0,0,204)" target="_blank">Facebook</a> <b>I</b> <a href="http://blog.vtiger.com/" style="color:rgb(0,0,204)" target="_blank">Blog</a><b> I</b> <a href="http://wiki.vtiger.com/index.php/Main_Page" style="color:rgb(0,0,204)" target="_blank">Wiki</a> <b>I </b><a href="http://forums.vtiger.com/" style="color:rgb(0,0,204)" target="_blank">Forums </a><b>I</b> <a href="http://vtiger.com/" style="color:rgb(0,0,204)" target="_blank">Website</a></span></div>



<br><br></div><div class="gmail_quote"><div><div class="h5">On Thu, Mar 21, 2013 at 7:35 PM, Adam Heinz <span dir="ltr"><<a href="mailto:amh@metricwise.net" target="_blank">amh@metricwise.net</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">

<div dir="ltr">I know the reason this feature is getting removed is performance, but this is exactly the sort of thing that is easily avoided with a database cache.</div><div class="gmail_extra"><br><br><div class="gmail_quote">


<div><div>
On Thu, Mar 21, 2013 at 9:16 AM, Prasad <span dir="ltr"><<a href="mailto:prasad@vtiger.com" target="_blank">prasad@vtiger.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><div>
<span style="color:rgb(34,34,34);font-size:13.333333969116211px;white-space:nowrap;font-family:arial,sans-serif">Prabath,</span><div><font color="#222222" face="arial, sans-serif"><span style="white-space:nowrap"><br>

</span></font></div><div><font color="#222222" face="arial, sans-serif"><span style="white-space:nowrap">Can you please share the use-case and the values against which you have working with.</span></font></div><div><font color="#222222" face="arial, sans-serif"><span style="white-space:nowrap"><br>





</span></font></div><div><font color="#222222" face="arial, sans-serif"><span style="white-space:nowrap">Regards,</span></font></div><div><font color="#222222" face="arial, sans-serif"><span style="white-space:nowrap">Prasad</span></font></div>





<div><font color="#222222" face="arial, sans-serif"><span style="white-space:nowrap"><b><br clear="all"></b></span></font><div><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px"><b>Connect with us on: </b><a href="http://twitter.com/vtigercrm" style="color:rgb(0,0,204)" target="_blank">Twitter</a> <b>I</b> <a href="http://www.facebook.com/pages/vtiger/226866697333578?sk=wall" style="color:rgb(0,0,204)" target="_blank">Facebook</a> <b>I</b> <a href="http://blog.vtiger.com/" style="color:rgb(0,0,204)" target="_blank">Blog</a><b> I</b> <a href="http://wiki.vtiger.com/index.php/Main_Page" style="color:rgb(0,0,204)" target="_blank">Wiki</a> <b>I </b><a href="http://forums.vtiger.com/" style="color:rgb(0,0,204)" target="_blank">Forums </a><b>I</b> <a href="http://vtiger.com/" style="color:rgb(0,0,204)" target="_blank">Website</a></span></div>






<br><br><div class="gmail_quote"><div><div>On Thu, Mar 21, 2013 at 5:36 PM, Prabath Jayathilaka <span dir="ltr"><<a href="mailto:jayathilaka@gmail.com" target="_blank">jayathilaka@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>

this is very bad. I never agree with this. I'm currently working in a bank project and that feature is  very very useful for me. so it is very sad to hear about this. seems vtiger going to remove all the valuable features.<br>






<br><div class="gmail_quote">On Thu, Mar 21, 2013 at 5:30 PM,  <span dir="ltr"><<a href="mailto:vtigercrm-developers-request@lists.vtigercrm.com" target="_blank">vtigercrm-developers-request@lists.vtigercrm.com</a>></span> wrote:<br>






<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send vtigercrm-developers mailing list submissions to<br>
        <a href="mailto:vtigercrm-developers@lists.vtigercrm.com" target="_blank">vtigercrm-developers@lists.vtigercrm.com</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.vtigercrm.com/cgi-bin/mailman/listinfo/vtigercrm-developers" target="_blank">http://lists.vtigercrm.com/cgi-bin/mailman/listinfo/vtigercrm-developers</a><br>
<br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:vtigercrm-developers-request@lists.vtigercrm.com" target="_blank">vtigercrm-developers-request@lists.vtigercrm.com</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:vtigercrm-developers-owner@lists.vtigercrm.com" target="_blank">vtigercrm-developers-owner@lists.vtigercrm.com</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of vtigercrm-developers digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re: A note on Role based picklists in vtiger6 (Alan Lord)<br>
   2. Re: A note on Role based picklists in vtiger6 (salim)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Thu, 21 Mar 2013 08:49:07 +0000<br>
From: Alan Lord <<a href="mailto:alanslists@gmail.com" target="_blank">alanslists@gmail.com</a>><br>
To: <a href="mailto:vtigercrm-developers@lists.vtigercrm.com" target="_blank">vtigercrm-developers@lists.vtigercrm.com</a><br>
Subject: Re: [Vtigercrm-developers] A note on Role based picklists in<br>
        vtiger6<br>
Message-ID: <kiehhv$jlc$<a href="mailto:1@ger.gmane.org" target="_blank">1@ger.gmane.org</a>><br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br>
On 21/03/13 08:35, Vikas Jain wrote:<br>
> Hi,<br>
><br>
> In Vtiger 6, we have dropped the support for role based picklists. This<br>
> feature was rarely used, but due to it, usability and performance<br>
> suffered (Alan's email "Performance Tweaking?" below discusses the<br>
> performance impact). As improving usability was the primary focus for<br>
> Vtiger6, this is one feature, which we felt had to go. Administrators<br>
> can still create and edit picklists but all choices in the picklists<br>
> will be visible to all members who have access to the field (field level<br>
> access is controlled via profile).<br>
<br>
Hi Vikas,<br>
<br>
I'm with you on this. +1<br>
<br>
Role-based picklists always *seemed* like a really nice feature, but I<br>
can't think of one customer that really uses it...<br>
<br>
The one issue I had with the change in 5.4.0 is the Picklist editor is a<br>
bit broken. (It works but the main page view doesn't show the picklist<br>
values, and the sequence column gets populated with picklist values so<br>
re-ordering doesn't really work. If I have time, it would be nice to<br>
have a patch for 5.4.0 that supports UIType 16 editing better but right<br>
now time is not something I have a great deal of.<br>
<br>
(That's a good thing BTW!)<br>
<br>
Cheers<br>
<br>
Al<br>
<br>
--<br>
Libertus Solutions<br>
<a href="http://www.libertus.co.uk" target="_blank">http://www.libertus.co.uk</a><br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Thu, 21 Mar 2013 14:55:33 +0530<br>
From: salim <<a href="mailto:salimcmd@gmail.com" target="_blank">salimcmd@gmail.com</a>><br>
To: <a href="mailto:vtigercrm-developers@lists.vtigercrm.com" target="_blank">vtigercrm-developers@lists.vtigercrm.com</a><br>
Subject: Re: [Vtigercrm-developers] A note on Role based picklists in<br>
        vtiger6<br>
Message-ID:<br>
        <CADQpn1b4Twi2pY+sZ9+e13Kony0jb=<a href="mailto:CcNDxayni6%2BsJ72bG%2B8Q@mail.gmail.com" target="_blank">CcNDxayni6+sJ72bG+8Q@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hi,<br>
    I think that was a nice feature, If someone using branch concept in<br>
vtiger , then that feature is very help full,  since they setting<br>
up branch based on role. So they can display pick list values based<br>
on branch's.<br>
<br>
<br>
Thanks<br>
--<br>
Salim<br>
<br>
<br>
On 21 March 2013 14:19, Alan Lord <<a href="mailto:alanslists@gmail.com" target="_blank">alanslists@gmail.com</a>> wrote:<br>
<br>
> On 21/03/13 08:35, Vikas Jain wrote:<br>
><br>
>> Hi,<br>
>><br>
>> In Vtiger 6, we have dropped the support for role based picklists. This<br>
>> feature was rarely used, but due to it, usability and performance<br>
>> suffered (Alan's email "Performance Tweaking?" below discusses the<br>
>> performance impact). As improving usability was the primary focus for<br>
>> Vtiger6, this is one feature, which we felt had to go. Administrators<br>
>> can still create and edit picklists but all choices in the picklists<br>
>> will be visible to all members who have access to the field (field level<br>
>> access is controlled via profile).<br>
>><br>
><br>
> Hi Vikas,<br>
><br>
> I'm with you on this. +1<br>
><br>
> Role-based picklists always *seemed* like a really nice feature, but I<br>
> can't think of one customer that really uses it...<br>
><br>
> The one issue I had with the change in 5.4.0 is the Picklist editor is a<br>
> bit broken. (It works but the main page view doesn't show the picklist<br>
> values, and the sequence column gets populated with picklist values so<br>
> re-ordering doesn't really work. If I have time, it would be nice to have a<br>
> patch for 5.4.0 that supports UIType 16 editing better but right now time<br>
> is not something I have a great deal of.<br>
><br>
> (That's a good thing BTW!)<br>
><br>
> Cheers<br>
><br>
> Al<br>
><br>
> --<br>
> Libertus Solutions<br>
> <a href="http://www.libertus.co.uk" target="_blank">http://www.libertus.co.uk</a><br>
><br>
><br>
> ______________________________**_________________<br>
> <a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
><br>
<br>
<br>
<br>
--<br>
Muhammed Abdul Salim<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20130321/85ad1119/attachment-0001.html" target="_blank">http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20130321/85ad1119/attachment-0001.html</a>><br>







<br>
------------------------------<br>
<br>
_______________________________________________<br>
vtigercrm-developers mailing list<br>
<a href="mailto:vtigercrm-developers@lists.vtigercrm.com" target="_blank">vtigercrm-developers@lists.vtigercrm.com</a><br>
<a href="http://lists.vtigercrm.com/cgi-bin/mailman/listinfo/vtigercrm-developers" target="_blank">http://lists.vtigercrm.com/cgi-bin/mailman/listinfo/vtigercrm-developers</a><br>
<br>
<br>
End of vtigercrm-developers Digest, Vol 86, Issue 31<br>
****************************************************<span><font color="#888888"><br>
</font></span></blockquote></div><span><font color="#888888"><br><br clear="all"><br>-- <br>Best Regards<br><br>K.M.D.P. Jayathilaka |Senior Software Engineer<br>Mobile: [+94] 714436981 | [+94]770797156 
</font></span><br></div></div>_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br></div>
<br></div></div>_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br></div>
<br></div></div>_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br></div>
<br>_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br></div>