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

Performance Question #109

Open
Gitoffthelawn opened this issue Jul 13, 2022 · 3 comments
Open

Performance Question #109

Gitoffthelawn opened this issue Jul 13, 2022 · 3 comments

Comments

@Gitoffthelawn
Copy link

I use a few websites that are slow due to their large number of HTML elements, large number of complex CSS rulesets, extensive use of JavaScript, and frequent XHR requests.

Should adding these sites to TextareaCache's exception list result in any performance improvement?

I tried doing this for one of the sites, and didn't notice any difference right away. Before I run a few performance metrics, I thought it best to just ask: Should adding sites to TextareaCache's exception list result in any performance improvement on those sites?

@GHolk
Copy link
Collaborator

GHolk commented Sep 10, 2024

Adding a website to the exception list means that TextareaCache will not run on the site,
so will not affect the performance.

I have no idea if it was still slow after add the website to the exception list (and reload the existing page).

@Gitoffthelawn
Copy link
Author

Adding a website to the exception list means that TextareaCache will not run on the site, so will not affect the performance.

I have no idea if it was still slow after add the website to the exception list (and reload the existing page).

Sorry, let me rephrase. When sites are slow (unrelated to TextareaCache), it is generally best to not have any additional code (from web extensions) running in them, so as to not slow them down even more. Thus, I'm wondering if adding such sites to Textarea Cache's exception list is generally a good idea. (Of course, no textarea content will then be cached for such sites.)

@GHolk
Copy link
Collaborator

GHolk commented Oct 9, 2024

Set the checking interval to 0 to disable it could improve the performance a lot.
Check the cache the focused area only will only improve the page load.
After these, Textarea Cache will only run while the user inputs in a textarea.

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

2 participants