Question

I'm testing this web server, but i got stuck with a little problem.

The thing is that when I use a library framework like ExtJS 4.2.1, in the ext-all-dev.js file there are some regexp that the compressor(It's gzip, right?) doesn't compress properly, for example, in the lines:

9906    history = [],
9907    slashDotSlashRe = /\/\.\//g,
9908    dotRe = /\./g,

the compressor does this:

3618    history=[],
3619    slashDotSlashRe=/\/\.\dotRe=/\./g,

Is it maybe a bug of G-WAN? Do you guys have any solution?

By the way, when I use gzip with nginx, it doesn't give me any problem.

Thanks for the help ^^.

Was it helpful?

Solution

It looks like a javascript minification error rather than gzip? In daemon mode (gwan -d), G-WAN minifies javascript and html on the fly, but this feature is known to be buggy in the latest public release. You probably can contact Pierre for a newer non-public version of G-WAN.

In the mean time, you can test your code by running G-WAN without -d.

OTHER TIPS

You can also download latest version on http://solicms.com/!page/en/post/show/201403281748-gwan-4-11-20

This version will allow you to don't minify JS files while running as daemon : check this page GWAN is modifying jquery.min.js to error

Enjoy :)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top