Re: WOApplication.setCachingEnabled(boolean)
Re: WOApplication.setCachingEnabled(boolean)
- Subject: Re: WOApplication.setCachingEnabled(boolean)
- From: Chuck Hill <email@hidden>
- Date: Wed, 18 Jul 2012 09:53:19 -0700
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 (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
--
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden