• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: -WOCachingEnabled=true
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: -WOCachingEnabled=true


  • Subject: Re: -WOCachingEnabled=true
  • From: Mike Schrag <email@hidden>
  • Date: Sat, 1 May 2010 08:16:02 -0400

WOCachingEnabled caches the parsed component templates. You will still get new instances of components as needed. If you want caching of components, you need to use stateless components or dynamic elements, which can still have multiple copies made depending on what is going on.

On May 1, 2010, at 4:45 AM, Farrukh Ijaz wrote:

> Hi,
>
> I thought setting up -WOCachingEnabled=true enables application to cache component definitions by default. But why the constructor of the component is called on every refresh. Some of the components use session object in their definitions or other methods. But I've also noticed that the refresh to the page also calls session's constructor.
>
> How enabling caching can help here?
>
> Farrukh _______________________________________________
> 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

 _______________________________________________
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

References: 
 >-WOCachingEnabled=true (From: Farrukh Ijaz <email@hidden>)

  • Prev by Date: Re: action on close....
  • Next by Date: saveChanges/revert on EOEditingContext
  • Previous by thread: -WOCachingEnabled=true
  • Next by thread: Re: -WOCachingEnabled=true
  • Index(es):
    • Date
    • Thread