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

Possible performance improvement: add indexes per category #52

Open
tophf opened this issue Dec 20, 2023 · 0 comments
Open

Possible performance improvement: add indexes per category #52

tophf opened this issue Dec 20, 2023 · 0 comments

Comments

@tophf
Copy link

tophf commented Dec 20, 2023

Problem: the current index is like 20MB gzipped so it may take half a minute to download on a slower connection.

Idea:

  • add individual indexes per each category - will be used by Stylus in the popup and by the site when the tab is created using a direct category link; Stylus may also download the global category index (currently ~10k styles) in case the corresponding option is enabled in the popup

  • for https://uso.kkx.one/browse/styles add 5 tiny indexes with 36 styles inside for each of the 5 sorting modes - will be used to display the first page instantly, while all of the category indexes are being downloaded.

  • for https://uso.kkx.one/browse/categories - add an index of category names and an index for the first page results

@uso-archive uso-archive deleted a comment from PrivateMonster May 29, 2024
@uso-archive uso-archive deleted a comment from PrivateMonster May 29, 2024
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