• 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: blocking component from being cached
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: blocking component from being cached


  • Subject: Re: blocking component from being cached
  • From: Tom Pelaia <email@hidden>
  • Date: Mon, 16 Feb 2004 08:31:15 -0500
  • Organization: ORNL/SNS

I looked into setting the page cache size and it doesn't help.  The
logbook allows the user to add as many images as they want, so I could
never make it big enough.  Also I don't want to cache too many pages
otherwise memory requirements would be too high.  The solution I found
is to use a direct action.  The direct action responses don't seem to be
cached and it fixed the problem.  Of course the code is a little more
complex as a result, but it works.

thanks,
-tom

Robert Walker wrote:

> Tom,
>
> Have you looked at setPageCacheSize() in WOApplication? I've never
> actually used this method myself, but you might give it a quick look.
>
> On Feb 13, 2004, at 4:35 PM, Tom Pelaia wrote:
>
>     In case anyone cares, I have solved this problem by using a direct
>     action. It is more complex that the original implementation, but
>     it works. Apparently direct action responses do not get cached.
>
>                     I am streaming several images pages that get
>                     returned. It appears that they are being added to
>                     the page cache and that causes problems when there
>                     are several image. I was wondering if there is a
>                     way to block a component from being cached in a
>                     session's page cache.
>                     thanks, tom
>
>
>     --
>     Tom Pelaia
>     SNS Project, 701 Scarboro Road, MS-6473, Oak Ridge, TN 37830
>     phone: (865)574-6421, fax: (865)574-6617
>     _______________________________________________
>     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.
>
>
> --
> Sincerely,
> Robert Walker
>

--
Tom Pelaia
SNS Project, 701 Scarboro Road, MS-6473, Oak Ridge, TN 37830
phone: (865)574-6421, fax: (865)574-6617
_______________________________________________
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: blocking component from being cached (From: Tom Pelaia <email@hidden>)
 >Re: blocking component from being cached (From: Robert Walker <email@hidden>)

  • Prev by Date: TransactionManagerConfiguration.xml
  • Next by Date: locking editing context when removing item
  • Previous by thread: Re: blocking component from being cached
  • Next by thread: Connecting to DBs & LDAP
  • Index(es):
    • Date
    • Thread