• 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: Do DA's add a page to the app's cache ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Do DA's add a page to the app's cache ?


  • Subject: Re: Do DA's add a page to the app's cache ?
  • From: William Hatch <email@hidden>
  • Date: Thu, 04 Sep 2008 20:31:41 -0400

I'm pretty sure that whenever you instance a new component using pageWithName... it gets added to the page cache. I get around this with the hackish method of adding this line in the components constructor:

session().savePageInPermanentCache(this); which is no where near as nice as what Wonder does, but does work. I've never had memory problems.
Using this, you can instantiate the components in your DA, set them up however, then get the result string from generateResponse.... etc to ship it back to your js handler to do whatever with, in most my cases it's InnerHTML type thing. Hope that helps.


Bill



On Sep 4, 2008, at 7:48 PM, Owen McKerrow wrote:

Hi All,

We have an app that has some small hand made AJAX on it (not the cool stuff from project wonder) and we're having an issue with page cacheing on the Applications side.

I had set the AJAX action up as a call to a DA which I had though did not add to/effect the sessions page cache. So either that assumption is wrong or I haven't made a clean break between the DA and the session after all.

Anyways heres the error we're getting...

"The application backtracking limit of 30 has been exceeded."

Any suggestions ? Is turning off caching an option ?

Owen McKerrow
WebMaster, emlab
Ph : +61 02 4221 5517
http://emlab.uow.edu.au

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

People who prefer typing to pointing then seem to prefer acronyms to save typing :-)
-Denis Stanton, On people using Command Line Interfaces



_______________________________________________ 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
  • Follow-Ups:
    • Re: Do DA's add a page to the app's cache ?
      • From: Chuck Hill <email@hidden>
References: 
 >Do DA's add a page to the app's cache ? (From: Owen McKerrow <email@hidden>)

  • Prev by Date: Re: How to use ERJgroupsSynchronizer framework without Wonder?
  • Next by Date: Re: Do DA's add a page to the app's cache ?
  • Previous by thread: Do DA's add a page to the app's cache ?
  • Next by thread: Re: Do DA's add a page to the app's cache ?
  • Index(es):
    • Date
    • Thread