edgi-govdata-archiving / eot-nomination-tool

📚 Chrome extension to nominate government data that needs to be preserved
https://chrome.google.com/webstore/detail/nominationtool/abjpihafglmijnkkoppbookfkkanklok
GNU General Public License v3.0
20 stars 10 forks source link

chrome extension takes a long time to open window #25

Closed trinberg closed 5 years ago

trinberg commented 7 years ago

I wanted to write this down: some people have been commenting that the extension has been taking longer to pop open. We're at ~2000 urls linked and maybe ~30 people using it now

atesgoral commented 7 years ago

Can we get some numbers? What sort of delay are people observing? Is it a slight sense of sluggishness or is it a crazy delay that's in the seconds?

titaniumbones commented 7 years ago

i see a noticeable delay esp. the first time I click on it in a session. Suggests to me there's some bottleneck. Are we loading any remote resources? Is there some cost to querying localStorage?

atesgoral commented 7 years ago

Bootstrap is being loaded from a CDN. And the browser doesn't seem to cache the responses. Using a local copy of Bootstrap might help a little. Creating a PR soon. Created #31.

atesgoral commented 7 years ago

32 might also help a little. The option markup had redundant value attributes, bloating the amount of markup the browser needs to load & render. Actually, externalizing this data as JSON and lazily loading it might also help towards making the popup itself load faster.

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in seven days if no further activity occurs. If it should not be closed, please comment! Thank you for your contributions.