Indeed, it might work.
Unfortunately, we're using CFMX 6.1 Standard (ex. Pro), so we don't have
access to JSP features/taglib.

Benoit

-----Message d'origine-----
De : Matt Liotta [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 22 août 2003 16:08
À : CF-Talk
Objet : Re: static SSI (?) and dynamic SSI (cfinclude) with CF


Have you tried including the HTML file using JSP:include?

-Matt

On Friday, August 22, 2003, at 09:54 AM, Benoit Hediard wrote:

> Hi everyone,
>
> We were using a file-based caching system doing SSI (server side
> include)
> based on <cfinclude> (to cache sections of pages).
>
> The problem with cfinclude : it performs a dynamic SSI, not a static
> SSI.
> Even if you include an html page, it will be still parsed and
> considered as
> a ColdFusion template.
> The results : with trusted cache turned on, it will never serve new
> includes... (even if you delete the html cache file).
>
> In order to solve this problem, we are now using <cffile
> action="read"> and
> <cfoutput> to include the content of the html cache file.
>
> My questions are :
>
> 1. Is there a more efficient way to perform a static SSI with CF?
>
> 2. Don't you think that a new attribute to <cfinclude> could be added :
> <cfinclude template="..." mode="dynamic"> (default, dynamic SSI for CF
> pages, included content is parsed and executed)
> or <cfinclude template="..." mode="static"> (static SSI, content is not
> parsed, just included)
>
>
> Benoit Hediard
>
>
>
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

Reply via email to