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

reduce number of entries in admin to improve page load #416

Closed
wants to merge 1 commit into from

Conversation

SteveByerly
Copy link
Contributor

Page load times for us are really slow. Limiting paginatino to 20 entries really helps and I don't think most people need to see the default 100 at a time anyways.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.0%) to 99.64% when pulling 915cf7a on SteveByerly:entry_admin_list into 7915203 on Fantomas42:develop.

2 similar comments
@coveralls
Copy link

Coverage Status

Coverage increased (+0.0%) to 99.64% when pulling 915cf7a on SteveByerly:entry_admin_list into 7915203 on Fantomas42:develop.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.0%) to 99.64% when pulling 915cf7a on SteveByerly:entry_admin_list into 7915203 on Fantomas42:develop.

@Fantomas42
Copy link
Owner

I don't think that limiting the results is a good solution.
Some optimizations were already done on the SQL, but maybe something is broken.
The real question is what is causing this low speed ?

@SteveByerly
Copy link
Contributor Author

You are right, I should have dug deeper to find the slow down.

It is a bug in django-bitly relating to building URLs based on a passed-in scheme. If there are 'http' urls and you are trying to build 'https' urls, it loops through an additional n times with each page refresh. I will be sending a PR for that repo. Please close and thanks again.

@Fantomas42
Copy link
Owner

Okay, I see, this is an interesting issue.
I will take a look on your correction when ready, because it's interesting me.

Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants