Fwd: Speed improvement & T::T
So it is not possible to have TT pre-compile the files? On Fri, Dec 9, 2011 at 1:04 PM, Chris Cormack <chris@bigballofwax.co.nz>wrote:
On 10 December 2011 08:57, Chris Nighswonger <cnighswonger@foundations.edu> wrote:
On Fri, Dec 9, 2011 at 2:52 PM, Chris Cormack <chris@bigballofwax.co.nz> wrote:
But for CGI, then the compiling is useful also, so we should try switching that on.
Perhaps the "on/off" could be set by a system preference.
Could easily be done that way.
Chris _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
On 10 Dec 2011 09:44, "Mike Hafen" <mdhafen@tech.washk12.org> wrote:
So it is not possible to have TT pre-compile the files?
Yes, it will do that for you if you tell it to, what isn't practical for us to try to distribute compiled templates, because the first time someone hits a page it will compile it and use it. And we would have to do them for every language. Chris
On Fri, Dec 9, 2011 at 1:04 PM, Chris Cormack <chris@bigballofwax.co.nz>
wrote:
On 10 December 2011 08:57, Chris Nighswonger <cnighswonger@foundations.edu> wrote:
On Fri, Dec 9, 2011 at 2:52 PM, Chris Cormack <chris@bigballofwax.co.nz
wrote:
But for CGI, then the compiling is useful also, so we should try switching that on.
Perhaps the "on/off" could be set by a system preference.
Could easily be done that way.
Chris _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
I was just thinking about the permissions. You're right about having to do every language though, that wouldn't be practical. On Fri, Dec 9, 2011 at 2:47 PM, Chris Cormack <chris@bigballofwax.co.nz>wrote:
On 10 Dec 2011 09:44, "Mike Hafen" <mdhafen@tech.washk12.org> wrote:
So it is not possible to have TT pre-compile the files?
Yes, it will do that for you if you tell it to, what isn't practical for us to try to distribute compiled templates, because the first time someone hits a page it will compile it and use it. And we would have to do them for every language.
Chris
On Fri, Dec 9, 2011 at 1:04 PM, Chris Cormack <chris@bigballofwax.co.nz>
wrote:
On 10 December 2011 08:57, Chris Nighswonger <cnighswonger@foundations.edu> wrote:
On Fri, Dec 9, 2011 at 2:52 PM, Chris Cormack <
chris@bigballofwax.co.nz>
wrote:
But for CGI, then the compiling is useful also, so we should try switching that on.
Perhaps the "on/off" could be set by a system preference.
Could easily be done that way.
Chris _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
Why would generating them for every language be a problem? Also, why not provide a translation for every language by default? (removing the translation procedure from the install process). Regards To+ El 09/12/2011 19:30, "Mike Hafen" <mdhafen@tech.washk12.org> escribió:
I was just thinking about the permissions. You're right about having to do every language though, that wouldn't be practical.
On Fri, Dec 9, 2011 at 2:47 PM, Chris Cormack <chris@bigballofwax.co.nz>wrote:
On 10 Dec 2011 09:44, "Mike Hafen" <mdhafen@tech.washk12.org> wrote:
So it is not possible to have TT pre-compile the files?
Yes, it will do that for you if you tell it to, what isn't practical for us to try to distribute compiled templates, because the first time someone hits a page it will compile it and use it. And we would have to do them for every language.
Chris
On Fri, Dec 9, 2011 at 1:04 PM, Chris Cormack <chris@bigballofwax.co.nz>
wrote:
On 10 December 2011 08:57, Chris Nighswonger <cnighswonger@foundations.edu> wrote:
On Fri, Dec 9, 2011 at 2:52 PM, Chris Cormack <
chris@bigballofwax.co.nz>
wrote:
But for CGI, then the compiling is useful also, so we should try switching that on.
Perhaps the "on/off" could be set by a system preference.
Could easily be done that way.
Chris _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
On 10 Dec 2011 13:51, "Tomas Cohen Arazi" <tomascohen@gmail.com> wrote:
Why would generating them for every language be a problem? Also, why not
provide a translation for every language by default? (removing the translation procedure from the install process).
Regards To+
El 09/12/2011 19:30, "Mike Hafen" <mdhafen@tech.washk12.org> escribió:
I was just thinking about the permissions. You're right about having to do every language though, that wouldn't be practical.
On Fri, Dec 9, 2011 at 2:47 PM, Chris Cormack <chris@bigballofwax.co.nz> wrote:
On 10 Dec 2011 09:44, "Mike Hafen" <mdhafen@tech.washk12.org> wrote:
So it is not possible to have TT pre-compile the files?
Yes, it will do that for you if you tell it to, what isn't practical
for us to try to distribute compiled templates, because the first time someone hits a page it will compile it and use it. And we would have to do
I think you are misunderstanding, generating them gains us nothing except a huge tarball. TT will generate them as needed. Differing perl versions, differing TT versions, differing distributions etc will all cause a mess. Why not just let them work in the way they are designed to work. Chris them for every language.
Chris
On Fri, Dec 9, 2011 at 1:04 PM, Chris Cormack <
chris@bigballofwax.co.nz> wrote:
On 10 December 2011 08:57, Chris Nighswonger <cnighswonger@foundations.edu> wrote:
On Fri, Dec 9, 2011 at 2:52 PM, Chris Cormack <
chris@bigballofwax.co.nz>
wrote: > > > But for CGI, then the compiling is useful also, so we should try > switching that on. >
Perhaps the "on/off" could be set by a system preference.
Could easily be done that way.
Chris _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
2011/12/9 Chris Cormack <chris@bigballofwax.co.nz>
I think you are misunderstanding, generating them gains us nothing except a huge tarball. TT will generate them as needed.
huge tarball--
Differing perl versions, differing TT versions, differing distributions etc will all cause a mess. Why not just let them work in the way they are designed to work.
I agree with Chris here. If we implement this feature, we need to make it a syspref or something and leave it to the user to enable it if they like. Kind Regards, Chris
participants (4)
-
Chris Cormack -
Chris Nighswonger -
Mike Hafen -
Tomas Cohen Arazi