Live data from Hacker News

India Launches Beta Version of Its Data Site

data.gov.in

1–10 of 62 posts

Re: India Launches Beta Version of Its Data Site

#3
For anyone's brain food - the app is opensource and the sourcecode is available at https://github.com/opengovplatform/opengovplatform/

[EDIT:] It looks like it was developed on Drupal - (https://github.com/opengovplatform/opengovplatform/blob/mast...)

According to info, this is a Govt of US-India collaboration.

[EDIT-2:] I hope their data dump is not from the production servers (https://github.com/opengovplatform/opengovplatform/blob/668b...) Because I found this on grepping - https://gist.github.com/3608089

Re: India Launches Beta Version of Its Data Site

#6
post #4

I don't think I've ever seen so many separate JavaScript and CSS-files used on a page before. Surely most, if not all, could be reduced into one?

It's rarely beneficial to compress to one single file, but I completely agree that the way they are doing it it very inefficient, especially spamming the @import notation.

Re: India Launches Beta Version of Its Data Site

#8
post #4

I don't think I've ever seen so many separate JavaScript and CSS-files used on a page before. Surely most, if not all, could be reduced into one?

Drupal 7 does this out of the box, with an option to aggregate and compress JS and CSS. I have not developed on Drupal 6 but would be incredibly surprised if there wasn't at least a community developed module to do this.

Re: India Launches Beta Version of Its Data Site

#9
post #6
post #4

I don't think I've ever seen so many separate JavaScript and CSS-files used on a page before. Surely most, if not all, could be reduced into one?

It's rarely beneficial to compress to one single file, but I completely agree that the way they are doing it it very inefficient, especially spamming the @import notation.

Not sure what you mean by "rarely beneficial to compress to one single file".

But in multiple situations I have seen significant web load performance improvements when the number of discrete files being loaded is reduced - merge all JS into one file, all CSS into another and sprite images. This is due to HTTP 2-connection rule.

Post reply on HN