On 5/4/05, Al Everett <[EMAIL PROTECTED]> wrote:
> On 5/4/05, Dave Carabetta <[EMAIL PROTECTED]> wrote:
> > 1) Turn off trusted cache
> > 2) Copy out your files and run the new pages so CF compile them, etc.
> > 3) Turn on trusted cache
> >
> > No need to restart your server at all in my experience
You can delete the .class files but only while the service is stopped.
Otherwise CF will barf looking for files it assumes are still there.
-Original Message-
From: Al Everett [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 04, 2005 12:35 PM
To: CF-Talk
Subject: Re: Trusted Cache
> Sounds simple enough. I just know that there are
> circumstances where one or more templates that's been changed
> will be very rarely touched and will be hard to get to in
> normal testing. I guess I was hoping there was a way I could
> just clear the cache so CF will just treat all pages as
On 5/4/05, Dave Carabetta <[EMAIL PROTECTED]> wrote:
> 1) Turn off trusted cache
> 2) Copy out your files and run the new pages so CF compile them, etc.
> 3) Turn on trusted cache
>
> No need to restart your server at all in my experience.
Sounds simple enough. I just know that there are circumst
On 5/4/05, Al Everett <[EMAIL PROTECTED]> wrote:
> Okay, my mind is apparently slipping.
>
> I understand that the Trusted Cache setting can give significant
> performance gains because CF is not checking for a newer version of
> CFML to compile for each page request.
>
> But let's say I have mad
One way which might assist automating this would be to use the RunTimeService of the CF serviceFactory:
1. Use cfdirectory to get list of updated templates.
2. factory.runtimeservice.SetTrustedCache(false);
3. loop though updated templates, including each one inside a cftry/catch to ignore errors
>> If Trusted Cache is enabled in CF Admin, how do we get
>> updated templates to process using the new version instead of
>> the cached version? Is there a way to 'pop' the old version
>> from the cache? Thanks!
>
>Yes. Disable trusted cache, run the files in question, then reenable trusted
>ca
> If Trusted Cache is enabled in CF Admin, how do we get
> updated templates to process using the new version instead of
> the cached version? Is there a way to 'pop' the old version
> from the cache? Thanks!
Yes. Disable trusted cache, run the files in question, then reenable trusted
cache. Ob
On Fri, 11 Jun 2004 17:11:07 +0100, Robertson-Ravo, Neil (RX) wrote:
>
> Anyone currently using Trusted Cache? Good/Bad?
In my old company (you know who they are), we used Trusted Cache on
the servers, and had an app which uploaded and "touched" the cache to
refresh the template
But the servers
.9770
_
From: Tony Weeg [mailto:[EMAIL PROTECTED]
Sent: Friday, June 11, 2004 11:27 AM
To: CF-Talk
Subject: RE: Trusted Cache
sure am.
great. pages load, REALLY fast, I think, at least they seem to, maybe its
placebonic, but it seems as though its making speed faster.
tw
-Original Me
sure am.
great. pages load, REALLY fast, I think, at least they seem to, maybe its
placebonic, but it seems as though its making speed faster.
tw
-Original Message-
From: Robertson-Ravo, Neil (RX)
[mailto:[EMAIL PROTECTED]
Sent: Friday, June 11, 2004 12:11 PM
To: CF-Talk
Subject: Trus
about the
trusted cache? All I can find are short descriptions with no details.
Thanks,
Steve
-Original Message-
From: Philip Arnold [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 05, 2003 10:27 AM
To: CF-Talk
Subject: RE: Trusted cache?
> I think he was using CF5 and AFAIK you no lon
>> -Original Message-
>> From: DURETTE, STEVEN J (AIT) [mailto:[EMAIL PROTECTED]
>> Sent: 05 June 2003 18:18
>> To: CF-Talk
>> Subject: RE: Trusted cache?
>>
>> Philip,
>>
>> Do you know where I could find more information about this?
>>
> I think he was using CF5 and AFAIK you no longer have to stop
> and start the server, just uncheck the setting in the administrator!
This is what I was saying...
BUT, if you regularly upload files to multple servers, save time, it's
easier to write a procedure to upload and push the file out of
I tried an undocumented function to reload cached files but it didn't work for me (CF
4.5 SP2, Solaris 8)
I *have* sneaked files into the Trusted Cache when we needed to on Production. Turn
off the Trusted Cache in the CFadmin, then make a browser request to the new .cfm
file. Then turn the Tru
Philip
I think he was using CF5 and AFAIK you no longer have to stop and start
the server, just uncheck the setting in the administrator!
Kola
>> -Original Message-
>> From: Philip Arnold [mailto:[EMAIL PROTECTED]
>> Sent: 05 June 2003 13:08
>> To: CF-Talk
>&
> The docs are pretty thin on the "Trusted cache" option in CF5
> Admin but I found a Tech Note in MM saying it should be
> anabled on Production Servers. Is this standard practice out
> there and, other than remembering to refresh when updating
> templates, are there any "gotchas" to be aware of?
Be sure to stop/start the CFserver when you change any .cfm file, and make the Trusted
Cache big - like 5 or 10 times the total size of your .cfm files.
It definitely helps response time on a Production server.
Chris Norloff
-- Original Message --
From:
> I am curios as to what has been implemented by you for solutions
> to resetting TRUSTED CACHE after you push code to a particular
> web server.
>
> It seems that we always have to restart the Cold Fusion
> Service. Has anyone created a NT Command file to stop & restart
> the CF Service that
19 matches
Mail list logo