<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc = "http://purl.org/dc/elements/1.1/" xmlns="http://purl.org/rss/1.0/">
	<channel rdf:about="http://livedocs.adobe.com/">
	<title>LiveDocs Comments - coldfusion - 6.1 - htmldocs - tags-pa8.htm</title>	
		<link>http://livedocs.adobe.com/</link>
		<description>Macromedia LiveDocs - online documentation with user feedback.</description>
		<copyright>Copyright 2009, Macromedia, Inc.</copyright>
		<dc:date>2009-11-25T05:49:31</dc:date>
		<dc:language>en-us</dc:language>
		<items>
			<rdf:Seq>
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-pa8.htm#51889" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-pa8.htm#38512" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-pa8.htm#22750" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-pa8.htm#11500" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-pa8.htm#6858" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-pa8.htm#6077" />
			</rdf:Seq>
		</items>
	</channel>
	
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-pa8.htm#51889">
		<title>coldfusion/6.1/htmldocs/tags-pa8.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-pa8.htm#51889</link>
		<description>to get rid of the comment cfcache puts at the begining, call another template first, use cfhttp to call the original, cached template, then use Replace() to remove the comment&lt;br /&gt;&lt;br /&gt;&lt;!--- call the main template, where we use cfcache to cache the response&lt;br /&gt;&lt;cfset theURL = 'http://localhost/main.cfm?' &amp; '#CGI.QUERY_STRING#'&gt;&lt;br /&gt;&lt;cfhttp url='#Variables.theURL#' method=&quot;GET&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;!--- remove the comment cfcache puts at the top of cached response, so the response will be XML compatible ---&gt;&lt;br /&gt;&lt;cfset theComment = '&lt;!---' &amp; '#Variables.theURL#' &amp; '---&gt;'&gt;&lt;br /&gt;&lt;cfset xmlResponse = Replace('#cfhttp.fileContent#', '#theComment#', '' , &quot;one&quot;)&gt;&lt;br /&gt;&lt;br /&gt;&lt;!--- send a clean response to the client ---&gt;&lt;br /&gt;&lt;cfoutput&gt;#Variables.xmlResponse#&lt;/cfoutput&gt; ---&gt;</description>
		<dc:creator></dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2006-08-15T13:18:24</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-pa8.htm#38512">
		<title>coldfusion/6.1/htmldocs/tags-pa8.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-pa8.htm#38512</link>
		<description>CfCache adds an html comment on the first line of the page being cached (server side cached). However, the first line is reserved for the DOCTYPE declaration. With the comment generated by CF, it cancels out the basis of having a doctype declaration, and therefore does not allow standards based, css websites to be integrated with server caching.    &lt;br /&gt;&lt;br /&gt;In short, MSIE goes into quirks mode and ignores your CSS.</description>
		<dc:creator>jsm</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-08-09T07:04:07</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-pa8.htm#22750">
		<title>coldfusion/6.1/htmldocs/tags-pa8.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-pa8.htm#22750</link>
		<description>This tag ignores cgi.path_info, making pages with parameters passed in a search engine friendly way such as index.cfm/blah1/blah2 unusable.</description>
		<dc:creator>Hallow</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-10-21T12:04:52</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-pa8.htm#11500">
		<title>coldfusion/6.1/htmldocs/tags-pa8.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-pa8.htm#11500</link>
		<description>We are working to improve the examples in the ColdFusion reference pages. We propose to replace the current example on this page with the the following example. If you have any comments on this example, add them to this page.&lt;br /&gt;&lt;br /&gt;&lt;!--- This example produces as many cached files as there are &lt;br /&gt;URL parameter permutations. You can see that the page is cached when the timestamp doesn't change.---&gt;&lt;br /&gt;&lt;cfcache&lt;br /&gt;    timespan=&quot;#createTimeSpan(0,0,10,0)#&quot;&gt;&lt;br /&gt;&lt;body&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;This is a test of some simple output&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;&lt;cfoutput&gt;&lt;br /&gt;	This page was generated at #now()#&lt;br&gt;&lt;br /&gt;&lt;/cfoutput&gt;&lt;br /&gt;&lt;br /&gt;&lt;cfparam name = &quot;URL.x&quot; default = &quot;no URL parm passed&quot; &gt;&lt;br /&gt;&lt;cfoutput&gt;The value of URL.x = # URL.x #&lt;/cfoutput&gt;</description>
		<dc:creator>wlee</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-03-22T08:05:46</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-pa8.htm#6858">
		<title>coldfusion/6.1/htmldocs/tags-pa8.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-pa8.htm#6858</link>
		<description>In response to the request to add a parameter to cfcache:&lt;br&gt;&lt;br&gt;ColdFusion has the opposite problem to the one described.&lt;br&gt;ColdFusion always returns cfcached pages in UTF-8; that is, with an HTTP header specifying a charset of UTF-8.&lt;br&gt;We have submitted a bug against this behavior,  number 54095, against this behavior.&lt;br&gt;&lt;br&gt;I believe that the described problem is different, and not related to cfcache.&lt;br&gt;While Dreamweaver is saving the page as UTF-8 code, ColdFusion is reading the file using the system default encoding, probably Windows-1252 or ISO-8859-1.&lt;br&gt;&lt;br&gt;To force ColdFusion to read the page as UTF, do either of the following:&lt;br&gt;In Dreamweaver, select the &quot;Include Unicode Signature (BOM)&quot; option on the Title/Encoding dialog.&lt;br&gt;OR&lt;br&gt;Use the following tag at the top of each CFML page that you save in UTF-8:&lt;br&gt;&lt;cfprocessingdirective pageencoding=&quot;UTF-8&quot;&gt;&lt;br&gt;&lt;br&gt;If select to include the BOM in Dreamweaver you do not need to use the cfpageencoding tag on your pages, as ColdFusion will read the BOM (two bytes at the start of the file) and determine the page is UTF-8 automatically.</description>
		<dc:creator>halL</dc:creator>
		<dc:type>1 1</dc:type>
		<dc:date>2004-01-30T10:42:08</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-pa8.htm#6077">
		<title>coldfusion/6.1/htmldocs/tags-pa8.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-pa8.htm#6077</link>
		<description>Why is it not possible using cfcache to add a parameter&lt;br /&gt;&lt;br /&gt;pageencoding=&quot;UTF-8&quot;&lt;br /&gt;&lt;br /&gt;to save a cached file in UTF-8 format? All files will be saved in &quot;Western (Latin1)&quot; format -- but the original file is UTF-8 encoded using Dreamweaver (CTRL+J &gt; UTF-8). This is terrible, because all cached files will be shown in the wrong encoding, thus special characters are displayed wrong.&lt;br /&gt;&lt;br /&gt;Is there a workaround for this bug??</description>
		<dc:creator></dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-01-27T15:24:56</dc:date>
	</item>
	</rdf:RDF>

