Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resouce Plugin integration #38

Open
confile opened this issue Dec 29, 2013 · 5 comments
Open

Resouce Plugin integration #38

confile opened this issue Dec 29, 2013 · 5 comments

Comments

@confile
Copy link

confile commented Dec 29, 2013

It would be great to have the output of the grails-gwt plugin be handles by the resource plugin.

Do you see any case how to achieve this? I would like to zipped resources to zip the gwt js files.

@daviddawson
Copy link

I haven't looked into the internals of the resources plugin in a while. I know that there is a certain amount of interference between the two plugins, and so if you look through the mailing list, you will see some workarounds on excluding the gwt resources from being handled by the resources plugin. It is not, currently, compatible.

The thing with the GWT JS is that there are some files that are safe to be long cached, and others that must never be cached at all, we'd need some king of setup to integrate them. Ideally we'd integrate with the asset pipeline plugins as well, as they seem to use quite a different model.

Contributions welcome.

@confile
Copy link
Author

confile commented Dec 29, 2013

@daviddawson Well, lets make it simple. It would be a big improvement if you could assure that the GWT js files are zipped. How do you handle this. It is even for mobile very important.

@daviddawson
Copy link

On the apps I manage I tend to include a raw servlet Filter that manages all of the caching rules across the entire application in a very fine grained way, GWT or not.

The fact that I do that is the primary reason I have never implemented anything in the GWT plugin, and no one else has contributed anything else.

@daviddawson
Copy link

Oh, and use nginx/ apache transparent zipping. low tech, yes, but that's how its done on the apps I use, and is then fully compatible with non gzip capable clients

@confile
Copy link
Author

confile commented Dec 29, 2013

okay great thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants