If I remember properly, I once had a such a situation, where it can
get slow, if you have a lot of static files served (or better: passed
through) by Erlyweb, then you also have a lot of requests per page,
which are going to be checked whether it is something to recompile,
end erlyweb is printing for each file a warning to the interactive
shell, which is also slow (but can be suppressed I think).
On Nov 16, 4:29 am, "Yariv Sadan" <[EMAIL PROTECTED]> wrote:
> You can pass the {last_compile_time, Time} option to
> erlyweb:compile(), and it will only compile the files that have
> changed since that time (for convenience, erlyweb:compile() returns
> the Time value after each compilation).
>
> Is {auto_compile, true} slow for you? I haven't noticed its impact.
>
> Yariv
>
> On Nov 15, 2007 6:28 PM, David King <[EMAIL PROTECTED]> wrote:
>
>
>
> > Compiling with erlyweb:compile(Appdir,...) takes quite some time, and
> > compiling with {auto_compile,true} makes every request take a while,
> > so is there some way to get to the "compile all of the changed files"
> > functionality directly?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"erlyweb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---