• 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: Picking up .wo changes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Picking up .wo changes


  • Subject: Re: Picking up .wo changes
  • From: email@hidden
  • Date: Fri, 6 Jun 2003 17:00:14 +0100

On Friday, June 6, 2003, at 07:41  am, Anders F Bjvrklund wrote:

Could you be a bit more explicit as to what you are trying to achieve.

It all started when I had modified a component and was looking for the "reload definition"
method on the component... It seems that the current caching is either never or forever.

If you want more control over caching, use:

setPageCacheSize(0);
setPermanentCacheSize(32); // choose an appropriate size here

and then use the related "permanent cache" methods in WOSession...


I just thought it would have been nice if WebObjects could pick up changes
in the templates (or in the java code or in the database) in an easy manner...

In development, I just press "Reload" in the browser to get the new version of the page. But I don't enable component caching in development.


To detect whether you are in development or deployment mode, you can use isDirectConnectEnabled().
Cheers,


-- Denis.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Picking up .wo changes (From: Anders F Björklund <email@hidden>)

  • Prev by Date: Re: Picking up .wo changes
  • Next by Date: Re: EOs and NSData
  • Previous by thread: Thread safety in WO (was Re: Picking up .wo changes)
  • Next by thread: Re: Picking up .wo changes
  • Index(es):
    • Date
    • Thread