Quantcast
Channel: Lucee Dev - Latest topics
Viewing all articles
Browse latest Browse all 423

Inspect Templates: Never - does not seem to be working

$
0
0

Hi, we use the “Inspect Templates: Never” setting on our production servers for performance. But lately I’ve been noticing it’s not working.

If I create a test.cfm file and put “Hello” in it and browse it it, it works.
If I change that string to “Hello2” and refresh the page, I might see “Hello” or I might see “Hello2”, but if I keep refreshing I will for sure see “Hello2” in 5-10 seconds. I can continue to repeat this as I change the string in the test.cfm file.

I tracked this down to the “healthcheck” page we have for our load balancer to call to make sure Lucee is up and running. That page does make a call to inspectTemplates(), but it’s in a different application. (different application name in Application.cfc).

So it appears that although the docs say inspectTemplates() only applies to the current application, it doesn’t appear to behaving that way.

Am I understanding correctly? Is there something I can do differently so that calling inspectTemplates() from the healthcheck application does not reset everything on the entire server?

OS: Windows
Java Version: 11.0.23
Tomcat Version: 9.0.89
Lucee Version: 5.4.5.23

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 423

Trending Articles