[openspending-dev] Satellite sites and minimizing

Vitor Baptista vitor at vitorbaptista.com
Fri Mar 8 17:37:06 UTC 2013


Hi Nigel,

I like your idea. I wouldn't minify third-party libraries, though, changing
them to use CDN's versions (be it Google or cdnjs.com), only minifying our
files. Have you ever used grunt.js? It might help us automate this process.

Cheers,
Vítor.

2013/3/8 Nigel Babu <nigel.babu at okfn.org>

> Hi folks,
>
> We don't really minimize our JS or CSS files on any of the satellite
> sites, leading to, often fetching 10 files from 2 different places.
>
> I've been thinking of having openspending.js as a submodule in the repos
> of satellite sites and using require.js to selectively include the JS files
> from openspendingjs as needed and also to minimize them.
>
> Has anyone looked into this before? Anyone has warnings or words of advice?
>
> Nigel
>
> _______________________________________________
> openspending-dev mailing list
> openspending-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/openspending-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/openspending-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/openspending-dev/attachments/20130308/42b439d5/attachment.html>


More information about the openspending-dev mailing list