Igal,
I guess my example wasn’t the best using the and granted it’s
much more simplistic than my production code. Even if you replace the
spaces/nbsp; with another character that is not a space the
CFPROCESSINGDIRECTIVE seems to “wait” for everything inside it to
execute. Causing the CFFLUSH to not work as expected in my case.
I would expect this to work :
|
<cfprocessingdirectivesuppresswhitespace=“Yes”>
|
<cfflushinterval=“50”/>
This page is runnning!
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
<cfsetsleep(10000) />
This page Finished!
But it waits the full 10 seconds before the entire output of the page
returns to the browser.
The next set of code with it after works as expected:
|
<cfflushinterval=“50”/>
This page is runnning!
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
<cfsetsleep(10000) />
This page Finished!
<cfprocessingdirectivesuppresswhitespace=“Yes”>
This has white space removed, but flush still works
|
Anyway just thought I would let others know in case they run into it.
Thanks for all the work on Lucee! It’s great.
Jeff R.
On Tuesday, May 10, 2016 at 9:25:06 AM UTC-7, Igal wrote:
The CFPROCESSINGDIRECTIVE was overriding/Cancelling the CFFLUSH.
To clarify: the processing directive does not override the flush,
but it suppresses all of the whitespace, so when you do <cfflush
interval="1"> which should trigger a flush after every "1"
character -- nothing happens because the whitespace character is
not emitted in the first place.
In Adobe Coldfusion the CFFLUSH still functions
IIRC then ACF doesn't suppress all of the whitespace (it retains
LINE_FEED characters or something like that), so every "1" LF
character will trigger a flush. If you ask me -- when I write
"SuppressWhiteSpace" -- I mean "I want the WS suppressed", so
that's a "bug" on their end.
Igal Sapir
Lucee Core Developer
Lucee.org <http://lucee.org/>
On 5/10/2016 9:13 AM, Jeff Roberson wrote:
So I figured out what was causing this issue. the following
example ignores the CFFLUSH.
|
<cfprocessingdirective suppresswhitespace="Yes">
<cfflush interval="1" />
<p>
This page is running!
</p>
<cfset sleep(10000) />
<p>
This page Finished!
<p>
</cfprocessingdirective>
|
The CFPROCESSINGDIRECTIVE was overriding/Cancelling the CFFLUSH.
In Adobe Coldfusion the CFFLUSH still functions inside of the
CFPROCESSINGDIRECTIVE so it took me awhile to figure this out.
Hope this helps anyone else that runs into this issue. this was
specific to a Fusebox application we have, but if you are using
CFPROCESSINGDIRECTIVE it's worth noting. The Suppress White
Space option in the Lucee Administrator doesn't seem to harm the
CFFLUSH so that might be another option for your applications.
On Monday, February 29, 2016 at 12:55:47 PM UTC-7, Jeff Roberson wrote:
Hi Andrew,
It’s setup with mod_cml, mod_proxy. Actually in writing and
example for Drew I think it is working and my program
execution order is causing the issue :).
I’ll post up shortly with what I find out.
Thanks!
On Feb 29, 2016, at 12:42 PM, Andrew Dixon <andrew...@gmail.com <javascript:>> wrote:
Hi Jeff,
How have you connected Apache to Tomcat? mod_cfml, mod_jk,
etc...
Kind regards,
Andrew
about.me <http://about.me/andrew_dixon> - mso
<http://www.mso.net/> - Lucee Association Member
<http://lucee.org/>
On 29 February 2016 at 18:30, Jeff Roberson<jlrob...@gmail.com <javascript:>>wrote:
Sure I'll work up an example.
I was just wondering if anyone had worked on this
before. I'll have somethign shortly.
Thanks for the Reply.
On Monday, February 29, 2016 at 11:14:18 AM UTC-7, Mark Drew wrote:
Want to post some code?
On 29 Feb 2016, at 18:02, Jeff Roberson <jlrob...@gmail.com> wrote:
I am trying to get CFFLUSH to work with Apache and
Lucee and not having very much luck. I saw another
post with using IIS, but that's not an option for
me. I have tried disabling compression on apache,
but that didn't seem to help. Anyone figured this
out yet?
Thanks in advance.
Running :
Apache 2.2
Tomcat 8.0.28
Lucee 4.5.2.018
--
Love Lucee? Become a supporter and be part of the
Lucee project today!
-http://lucee.org/supporters/become-a-supporter.html
---
You received this message because you are
subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving
emails from it, send an email
tolucee+un...@googlegroups.com.
To post to this group, send email
tolu...@googlegroups.com.
To view this discussion on the web
visithttps://groups.google.com/d/msgid/lucee/f86ad567-5349-47aa-b5c7-b5ed73c3bcbd%40googlegroups.com.
For more options,
visithttps://groups.google.com/d/optout.
--
Love Lucee? Become a supporter and be part of the Lucee
project today!
-http://lucee.org/supporters/become-a-supporter.html
---
You received this message because you are subscribed to
the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails
from it, send an email tolucee+un...@googlegroups.com
<javascript:>.
To post to this group, send email
tolu...@googlegroups.com <javascript:>.
To view this discussion on the web
visithttps://groups.google.com/d/msgid/lucee/5301b542-a04d-437a-a701-2b3ecde98ab0%40googlegroups.com
<https://groups.google.com/d/msgid/lucee/5301b542-a04d-437a-a701-2b3ecde98ab0%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visithttps://groups.google.com/d/optout.
--
Love Lucee? Become a supporter and be part of the Lucee
project today!
-http://lucee.org/supporters/become-a-supporter.html
---
You received this message because you are subscribed to a
topic in the Google Groups "Lucee" group.
To unsubscribe from this topic,
visithttps://groups.google.com/d/topic/lucee/8bC3RcJmE-g/unsubscribe.
To unsubscribe from this group and all its topics, send an
email tolucee+un...@googlegroups.com <javascript:>.
To post to this group, send email tolu...@googlegroups.com
<javascript:>.
To view this discussion on the web
visithttps://groups.google.com/d/msgid/lucee/CAG1WijXwx3dJ9Uy5J_dhqm-sV5J650Ds-SGPaEjyORgk69ixug%40mail.gmail.com.
For more options, visithttps://groups.google.com/d/optout.
--
Love Lucee? Become a supporter and be part of the Lucee project
today! - http://lucee.org/supporters/become-a-supporter.html
<http://lucee.org/supporters/become-a-supporter.html>
---
You received this message because you are subscribed to the
Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to lucee+un...@googlegroups.com <javascript:>.
To post to this group, send email to lu...@googlegroups.com
<javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/0877653a-4ac3-4433-9b6e-3951c9392f00%40googlegroups.com
<https://groups.google.com/d/msgid/lucee/0877653a-4ac3-4433-9b6e-3951c9392f00%40googlegroups.com>.
For more options, visit https://groups.google.com/d/optout
<https://groups.google.com/d/optout>.
–
Love Lucee? Become a supporter and be part of the Lucee project today!
You received this message because you are subscribed to the Google
Groups “Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to lucee+unsubscribe@googlegroups.com
mailto:lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com
mailto:lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/cde29a44-f63f-48a3-8962-2fbac5a4ee4d%40googlegroups.com
https://groups.google.com/d/msgid/lucee/cde29a44-f63f-48a3-8962-2fbac5a4ee4d%40googlegroups.com?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout.