Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Friday, June 27, 2025 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Web Forums - SalesLogix Web Platform & Application Architect
Forum to discuss the use of the SalesLogix Web Platform, Client and Customer Portals, and the Application Architect (For version 7.2 and higher only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Web Platform & Application Architect | New ThreadView:  Search:  
 Author  Thread: memcache utility
Raul A. Chavez
Posts: 1300
Top 10 forum poster: 1300 posts
 
memcache utilityYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 10 Oct 12 2:22 PM
fiogf49gjkf0d

Have been quite busy lately, so I apologize for not contributing as much.


That said, I have been working on an SLX 8 Implementation where Picklists get cached per Session within MemCache (Same Person from 2 different Computers login in as the Same User may experience 2 different results with Picklists).


 


So, after dealing with telnet for a while, I decided to write a quick tool that allows me to View the MemCache Stats and to Flush it.


 


If anyone is interested, you can download it from http://www.crmbi.com/CRMBI/Downloads/MemCache%20Utility.exe


 


  If you have any questions, Suggestions, etc, let me know.

[Reply][Quote]
Mike Spragg
Posts: 1226
Top 10 forum poster: 1226 posts
 
Re: memcache utilityYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 10 Oct 12 2:31 PM
fiogf49gjkf0d
I thought you could do that now in v8 ? Under tools/options ?
[Reply][Quote]
Raul A. Chavez
Posts: 1300
Top 10 forum poster: 1300 posts
 
Re: memcache utilityYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 10 Oct 12 4:08 PM
fiogf49gjkf0d

Well, the Option is there, but:


a) I tried clicking on the  button and it doesn't appear to work


b) Is this a "per user" function? So, if I add a value to the Picklist (or a new picklist) I need to instruct all users to click on it.    In other words, I do a full deployment, IIS Reset, MemCache restart, yet picklists won't propagate.


 


This tool does nothing fancy. I placed 4 features on it: Ability to view the Stats, Memory Stats, Item stats and send a "flush_all" command.


 


For me, it is more convinient to launch my tool and clear the cache than trying to deal with each user and explain them how to "refresh" their picklist values.


 


 

[Reply][Quote]
Marcos Orfila
Posts: 40
 
Re: memcache utilityYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 11 Oct 12 8:23 AM
fiogf49gjkf0d

Thanks for sharing Raúl!

[Reply][Quote]
John Perona
Posts: 4
 
Re: memcache utilityYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 11 Oct 12 3:08 PM
fiogf49gjkf0d

There are actually multiple levels of caching on picklists.


 


Server Side - 


Standard Data Layer Caching via the Secondary Cache - OOTB this would be MemCached


Note, that the TTL on MemCached is 1 hour by default


Client Side - Browser Local Storage


This allows us to not make requests for picklist values.  The Tools/Options button clears this cache.

[Reply][Quote]
Raul A. Chavez
Posts: 1300
Top 10 forum poster: 1300 posts
 
Re: memcache utilityYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 12 Oct 12 10:15 AM
fiogf49gjkf0d

John:


  Did you stated that the Tools/Option button clears the Client Side Cache?


  And, does it use HTML 5 Local Storage instead of Cookies? (This may explain why clearing IE Cache had little impact on these values).


  That said, on my running with it, had 2 users logged into the same instance (with the same SLX UserCode). I had just executed a Full build and Deployment with an IIS reset before and after the reset.


 


  One user could not see a picklist, the other (me), could see it.


  I restarted IIS again, restarted MemCache and had the user clear out his browser. No luck, he still couldn't see this picklist.


 


  Now, to add some info, this was not a new picklist, it had been in place for 2 or 3 weeks.


  Since everything else had failed so far, I tetlnete into memcache and flushed it. After that, the uesr reloadthe page and thehc piilist


 

[Reply][Quote]
John Perona
Posts: 4
 
Re: memcache utilityYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 12 Oct 12 10:49 AM
fiogf49gjkf0d

Correct, the button in Tools/Options clears "Local Storage" of Picklists and the traditional "clear cache" is not the same thing.  


 


I'll check the stories of "logging in as same user" and the caching algorithm.

[Reply][Quote]
Raul A. Chavez
Posts: 1300
Top 10 forum poster: 1300 posts
 
Re: memcache utilityYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 12 Oct 12 10:54 AM
fiogf49gjkf0d

Bottom line is that getting updated picklist values is an upside hill battle.


Flush_all  on memchac is probably not the best of options, but it is the one that works for me.

[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 6/27/2025 5:42:05 PM