cfcache, generated comment, & DOCTYPE

Ask a Question related to Macromedia ColdFusion, Design and Development.

  1. #1

    Default cfcache, generated comment, & DOCTYPE

    Well, I was hoping this was going to be fixed in CF7 but it is not. I'm pretty
    sure there is no way around it, but I figured I'd ask here.

    When using server based page caching with <cfcache> tag. An html comment is
    created on the first line of the page being 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.

    Can this be fixed / worked around?

    sonoflight Guest

  2. Similar Questions and Discussions

    1. Possible bug in cfcache on CFMX7?
      We received an error report indicating a cfhttp timeout on our server. What is interesting is that there are no cfhttp calls in the page. Here is...
    2. CFCACHE and CSS
      I am trying to use CFCACHE for a page that uses several CFINCLUDEs. When the cached page is retrieved some of the styles, in the "masthead", "menu"...
    3. cfcache
      I want to know explanation of cfcache. But, I don't know how to do it and I'm confused about that. Then, I've just read cfcache example in cfstudio...
    4. <cfcache> and date format
      I have a CFM file which display a Form. As this form is built from queries and is alway the same, I add the <cfcache> at top of coding, And I get...
    5. DOCTYPE
      I have been researching css-p and following example tutorials on PVII. Now... if I use the entire DOCTYPE declaration that PVII suggest, I get...
  3. #2

    Default Re: cfcache, generated comment, & DOCTYPE

    This used to work with another problem.

    Try adding this as the first line on the page:

    <cfcontent type="text/html">

    --
    Ken Ford
    PVII Support Team
    [url]http://www.projectseven.com[/url]
    Team Macromedia Volunteer - Dreamweaver
    Certified Dreamweaver MX 2004 Developer


    "sonoflight" <webforumsuser@macromedia.com> wrote in message news:d139lo$kd$1@forums.macromedia.com...
    > Well, I was hoping this was going to be fixed in CF7 but it is not. I'm pretty
    > sure there is no way around it, but I figured I'd ask here.
    >
    > When using server based page caching with <cfcache> tag. An html comment is
    > created on the first line of the page being 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.
    >
    > Can this be fixed / worked around?
    >

    Ken Ford - *TMM* & PVII Guest

  4. #3

    Angry Re: cfcache, generated comment, & DOCTYPE

    Man, this is FRUSTRATING... Thanks for the suggestion, unfortunately it doesn't seem to work. I've got the same issue.
    I'm surprised this hasn't been discussed more on the web. Took me quite a while to find this little thread about the issue.
    Mike Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139