Charles,
You're so right - the intention is to save time in production. Thanks for
pointing me in the good direction! :-)
Roar

-----Opprinnelig melding-----
Fra: charles arehart [mailto:[EMAIL PROTECTED]] 
Sendt: 17. april 2002 18:58
Til: JRun-Talk
Emne: RE: Check interval for JSP recompilation


It might to help clarify your intention, especially for those not familiar
with that previously existing option.

Since the check for a new page occurs at the request of a page, do you mean
something that limits its looking to only every so many seconds--meaning
that for instance for 30 seconds pages that are requested may reflect the
old cached page even if the page's source has changed? With the benefit
being that at least it's not checking every single time in a high load site?

It may be worth pointing out to those who hear of this behavior and think
"my god, it checks if the file's updated every time it's requested?!", yes
that is normal behavior. It's wonderful in development, as you generally do
want the latest code to be executed.

Certainly, in a production environment, however, where code's not changing
often, it would be wasteful to check it when you know it's not changing. For
that, there is the option to change this at the application level. See the
Macromedia JRun documentation manual "Developing Apps with Jrun", Chapter
10, "JSP Compilation", or view it online at
http://livedocs.macromedia.com/jrun31docs/Developing_Applications_with_JRun/
jspcompile2.jsp#1096147

I realize this later behavior is not fine-grained enough for your
intentions, Roar (if I understand what you're looking for). I offer it as
much for others who may not be familiar with it.

/charlie

> -----Original Message-----
> From: Johansen, Roar [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 17, 2002 3:40 AM
> To: JRun-Talk
> Subject: Check interval for JSP recompilation
>
>
> Hi, all,
> is there a setting in JRun 3.x for altering the interval between 
> checks to recompile JSPs (like the .checkseconds setting in JRun 2.x 
> did)? TIA, Roar
> ------------------------------------
> FINN.no AS
> E-mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> Tel.:+47 2282 7816
> Mob.:+47 905 76 056
> www.finn.no <outbind://1/www.finn.no>
>
>
> 

______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to