Hi Paul,

Good catch!  My recommendations were correct.  The JavaDocs are 100% backwards. 
 I wonder when that happened.


Chuck


On 2012-07-17, at 9:44 PM, Paul Hoadley wrote:

> Hello,
> 
> I'm just running over Chuck's talk from WOWODC 12.  Reading the Javadocs for 
> WOApplication.setCachingEnabled(boolean) has left me confused about the 
> semantics of this method.  In his talk, Chuck recommends setting:
> 
>       setCachingEnabled(true);
> 
> (in deployment, but not development mode—right Chuck?), but the Javadocs read:
> 
>       If this is enabled [which I take to mean "set true"], changes to a 
> component will be reparsed after being saved...
> 
> which sounds to me like the behaviour you would get if there _wasn't_ 
> caching.  Am I just reading this wrong?  Chuck, can you confirm that your 
> recommendation was setCachingEnabled(true) in deployment mode, and false in 
> development mode?
> 
> 
> -- 
> Paul Hoadley
> http://logicsquad.net/
> 
> 
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
> 
> This email sent to ch...@global-village.net

-- 
Chuck Hill             Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall 
knowledge of WebObjects or who are trying to solve specific problems.    
http://www.global-village.net/gvc/practical_webobjects









 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to