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

AJAX in shape data vs. inlining #105

Open
rdmurphy opened this issue Dec 8, 2015 · 0 comments
Open

AJAX in shape data vs. inlining #105

rdmurphy opened this issue Dec 8, 2015 · 0 comments

Comments

@rdmurphy
Copy link
Contributor

rdmurphy commented Dec 8, 2015

Currently the Texas page is really chunky because we're in-lining the entire geoJSON file. This doesn't bite us too hard on other pages because the districts are pretty simple shapes. But this one is huge. We could get a sizable cache benefit if that was instead AJAX'ed for Google Maps to use — or at a minimum loaded via its own file that can pick up the cache header.

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

1 participant