Rich,

Maybe you can adjust the cfa_page tag so that
1. if no valid cache file exists, cache at the end tag of cfa_page the
generatedContent
2. if a valid cache file exists, get the cached content and use <cfexit> in
the start tag.

It looks easy to write, you can use the caching settings stored in the page
object and do not have to rewrite your own code.

Regards,
Johan

-----Original Message-----
From: Richard Ragan [mailto:[EMAIL PROTECTED]]
Sent: woensdag 31 oktober 2001 15:56
To: Spectra-Talk
Subject: Re: Path2URL and Spectra Page Caching


Yep, that's probably what I will end up doing. The client had hoped
to just use the Spectra Webtop level controls though.

Rich

----- Original Message -----
From: "Andrew" <[EMAIL PROTECTED]>
To: "Spectra-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, October 30, 2001 11:50 PM
Subject: RE: Path2URL and Spectra Page Caching


> Richard:
>
> Perhaps you could look into using the cfa_generatedContentCache tag to
> accomplish similar page level caching.  That would give you greater
control
> over the naming scheme of your cache so you could get the path variables
> yourself and use them as a part of your cache name.
>
> Just a suggestion.
>
> Andrew Hewitt
> Webworld Studios Inc.
>
> -----Original Message-----
> From: Richard Ragan [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 31, 2001 12:04 AM
> To: Spectra-Talk
> Subject: Path2URL and Spectra Page Caching
>
>
> I think this is really a CF issue but since it came up when working on
> Spectra let me post it here.
>
> I am using a relatively common customtag called path2URL so that spiders
> won't be scared
> away from seemingly dynamic pages (e.g
> http://thesite/index.cfm?objectID=BD67C6D3-FB4C-400A-8C1D548D2A17C660 is
> actually
> written as
> http://thesite/index.cfm/objectID/BD67C6D3-FB4C-400A-8C1D548D2A17C660 and
> the
> custom tag takes care of creating the proper URL variable and value.
>
> I turned on Spectra caching for this page and regardless of objectID
value,
> I get the same
> cached page. It looks like the CFCACHE tag called from CFA_PAGE uses the
> value of
> CGI.QUERY_STRING to build the entry in the cachemap file and in deciding
> whether to
> create separate cache pages. With Path2URL, QUERY_STRING is always empty.
> Since you cannot change the values in CGI scope, I don't see anyway around
> this impasse.
> Any ideas out there?
>
> Regards, Rich Ragan
>
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to