Skip to content

Conversation

@skarbat
Copy link
Contributor

@skarbat skarbat commented Jun 7, 2017

On initial load, the application was copying and synchronizing local and remote web content.
This had the side effect of slowing down response times considerably.
Fixed by simply loading the packaged version of the content, as we don't really upgrade the remote version.

@tombettany

@skarbat
Copy link
Contributor Author

skarbat commented Jun 7, 2017

@skarbat
Copy link
Contributor Author

skarbat commented Jun 7, 2017

Copy link
Member

@tombettany tombettany left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a small note which doesn't affect the functioning of the code.


def _get_image_from_str(img_str):
'''
Create a unique filename that points to img_str
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This actually encodes the provided image in base64 and returns that string. Might be worth making the comment accurate.

@skarbat
Copy link
Contributor Author

skarbat commented Jun 7, 2017

Thanks! Fixed and merging.

@skarbat skarbat merged commit da8000b into rc Jun 7, 2017
@skarbat skarbat deleted the fix-loading-times branch June 7, 2017 13:36
paulvarache pushed a commit that referenced this pull request May 6, 2019
* Speed up load times

* Rectified function comment
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

Successfully merging this pull request may close these issues.

2 participants