[CalendarServer-dev] Invalidated resources with memcache implementation

Wilfredo Sánchez Vega wsanchez at wsanchez.net
Wed May 20 10:41:19 PDT 2009


On May 15, 2009, at 6:07 PM, Eli Bach wrote:

> Is there a better way to do this, other than to tell the user to  
> wait 30 minutes?
>
> There's:
>
> 1) restart the whole DCS server
> 2) get the memcached to empty itself of all cached entries
> 3) get the memcached to empty itself of just the cached entries  
> related to modified entries (either added, removed or modified)
>
> I'll probably look at doing 2, as doing 3 requires matching exactly  
> how DCS caches each bit of data, as well as need both the original  
> and the updated values for all the entries that DCS uses to handle  
> it properly.

   You can lower the "cacheTimeout" value in the config file from 30  
some something shorter, if the performance of that isn't a problem for  
you.  Shouldn't be if you aren't serving oodles of users.

	-wsv



More information about the calendarserver-dev mailing list