Uploaded image for project: 'Railo'
  1. Railo
  2. RAILO-3016

CFCACHE doesn't seem to work with simplest example

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Rejected
    • Affects Version/s: 4.2.0.006
    • Fix Version/s: None
    • Labels:
      None

      Description

      This code:

      <cfset timeNow = timeFormat(now(), 'HH:MM:SS.LLL')>
      
      <cfoutput>The time now is: #timeNow#<br></cfoutput>
      <cfcache action="cache" timeout="#createTimespan(0,0,1,0)#">
      	<cfoutput>The time when cached was #timeNow#<br></cfoutput>
      </cfcache>
      

      Should output this (this is from ColdFusion 10):

      The time now is: 16:15:31.184
      The time when cached was 16:15:24.609
      

      On Railo the second line does not appear.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                micstriit Michael Offner
                Reporter:
                adamcameroncf Adam Cameron
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: