OpenUpSA / wazimap

Wazimap is a Django application for exploring census data.
http://wazimap.readthedocs.org/en/latest/
Other
30 stars 32 forks source link

Use django-pipeline to reduce requests for static files #3

Open longhotsummer opened 8 years ago

longhotsummer commented 8 years ago

The profile page makes:

The bulk of those requests aren't using Django's staticfiles and so aren't fingerprinted and don't have long cache lifetimes, which means most users will load them repeatedly.

We could probably get those down to 1-2 for each type.

xkmato commented 8 years ago

I totally agree with hosting most of them locally - Then we can even leverage some cool tools like django_compressor.

Let me take a shot at this one as it looks like an easy way for me to get introduced into the project.

longhotsummer commented 8 years ago

I'm not sure what bower would give us in this case?

Django compressor would be great, perhaps easier to use than django pipeline because it's easier for other projects to add their own css/js.