I'm happy to write one and give it away if @Bryan isn't contactable/
can't.

I do have have an odd-ball requirement that I wanted to get your
opinion on.  I've been looking through the framework and can't figure
out how to implement it.


The problem is that the generation of my cached content dictates the
TTL.

For example, consider a list of open jobs (positions).  Each job has a
jobClosed date.  I want the list/html to expire at the time the first
job expires.  I can determine that only at the time the time I
"execute" the code within the cache nodes.

<cache alias="TheJobList">
  <notify listener="someManager" method="getJobList"
resultArg="JobList" />
  <view-page name="jobs.mainListJobs" />
</cache>


It's almost like I need some way for the getJobList method to
communicate with the cache about the expiry date as it's caching the
item.

Do you have any suggestions to achieve this?

Dave

On Jan 24, 3:57 pm, "Peter J. Farrell" <[email protected]> wrote:
> Bryan Memmelaar at Curaspan I believe wrote one and I think he said he'd
> open source it.  @Bryan, care to share?
>
> .pjf
>
> Dave said the following on 01/23/2012 10:06 PM:
>
> > Hey all,
>
> > Has anyone written a caching strategy for Eh-Cache/Mach-II.
>
> > dave
>
> --
> Peter J. Farrell
> [email protected]
> [email protected]http://blog.maestropublishing.com
> Identi.ca / Twitter: @maestrofjp

-- 
To post to this group, send email to [email protected]
For more options and to unsubscribe, visit this group at 
http://groups.google.com/group/mach-ii-for-coldfusion?hl=en

SVN: http://svn.mach-ii.com/machii/
Wiki / Documentation / Tickets: http://trac.mach-ii.com/machii/

Reply via email to