Thanks very much. I'll have a look at that. However, there does not
seem to be much to compress here :) Only 1 or 2 kB saved.
I'll have a look at what other files I can get rid of. In my config, I
have all this now:
APE.Config.scripts.push(APE.Config.baseUrl + '/Source/' + arguments[i]
+ '.js');
})('mootools-core', 'Core/APE', 'Core/Events', 'Core/Core', 'Pipe/
Pipe', 'Pipe/PipeProxy', 'Pipe/PipeMulti', 'Pipe/PipeSingle', 'Request/
Request','Request/Request.Stack', 'Request/Request.CycledStack',
'Transport/Transport.longPolling','Transport/Transport.SSE',
'Transport/Transport.XHRStreaming', 'Transport/Transport.JSONP', 'Core/
Utility', 'Core/JSON', 'Core/Session','Plugins/Debug');
And it looks like I don't need all this.
Is there a way to find out what files are really needed, other than
removing them one by one and see how it works? Any documentation out
there or not about this? I have not found any.
Thanks again.
Nicolas.
PS: What does not really makes sense to me is the file that you
mention is 1024kB long! It looks as if it a compression of something
with a really bad algorithm that actually makes the compressed file
longer than the original one.
On 25 mai, 08:38, Julien TAGNERES <[email protected]>
wrote:
> Hi Nicolas,
>
> Actually the folder yuicompressor in ape-jsf/Build contains a file named
> "apeClientJS.js"
> This file is the result of a yuicompression of both /Clients/JavaScript.js
> AND /Clients/config.js
> This is the file you should include if you only use JavaScript.js and
> config.js as I do.
>
> Julien.
>
> 2011/5/25 Nicolas <[email protected]>> Another question.
>
> > I am surprised that noone seems to talk about compressing the js files
> > present in ape-jsf?
>
> > 1) Is not it a good idea to concatenate them and compress them with
> > yuicompressor?
>
> > Please APE team, tell me if you have tried this and if there is any
> > reason why it can not be done.
>
> > 2) What are the files under ape-jsf/Build? There is a yuicompressor
> > directory there. Is this used? Those files are really weird to me.
>
> > Nicolas.
>
> > On 23 mai, 20:46, Nicolas <[email protected]> wrote:
> > > Hi,
>
> > > I have tried to compress Mootools myself with YUI compressor but
> > > failed to make it work with APE.
>
> > > Then I went to the Mootools website to download the relevant files
> > > already compressed.
>
> > > Unfortunately, the result is the same. I have an error (at least one)
> > > that will not go away.
>
> > > s.getElementsByTagName is not a function
> > > Line 3
>
> > > That's what I get.
>
> > > Has anybody run into this problem? Any workaround?
>
> > > Thx in advance.
>
> > > Nicolas.
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "APE Project" 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/ape-project?hl=en
> > ---
> > APE Project (Ajax Push Engine)
> > Official website :http://www.ape-project.org/
> > Git Hub :http://github.com/APE-Project/
--
You received this message because you are subscribed to the Google
Groups "APE Project" 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/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/