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

Broken Links can work really slow #1354

Open
alan-null opened this issue Aug 9, 2024 · 0 comments
Open

Broken Links can work really slow #1354

alan-null opened this issue Aug 9, 2024 · 0 comments

Comments

@alan-null
Copy link
Member

  1. Create an item with an RTE (Rich Text) field.
  2. Set the value of the field to
<h3>Resources</h3><p><a href="https://www.rcpd.msu.edu/" rel="noopener noreferrer" target="_blank">MSU Resource Center for Persons with Disabilities</a><br /> <br /> <a href="https://webaccess.msu.edu/" rel="noopener noreferrer" target="_blank">MSU Web Accessibility</a></p><p>Americans with Disabilities Act National Network: <a href="https://adata.org/factsheet/ADANN-writing" rel="noopener noreferrer" target="_blank">Guidelines for Writing About People with Disabilities</a><br /> <br /> <a href="https://www.ada.gov/index.html" rel="noopener noreferrer" target="_blank">Americans with Disabilities Act</a><a href="https://www.ada.gov/index.html" rel="noopener noreferrer"><br /> </a><br /> <a href="https://www.ahead.org/home" rel="noopener noreferrer" target="_blank">Association on Higher Education and Disability</a></p><p>Best Colleges Conscious Language Guide: <a href="https://www.bestcolleges.com/conscious-language-guide/disability/" rel="noopener noreferrer" target="_blank">Disability</a></p><p>Center for Disability Rights: <a href="https://cdrnys.org/disability-writing-journalism-guidelines/" rel="noopener noreferrer" target="_blank">Disability Writing and Journalism Guidelines</a></p><p>Conscious Style Guide:&nbsp;<a href="https://consciousstyleguide.com/ability-disability/" rel="noopener noreferrer" target="_blank">Ability + Disability</a></p><p><a href="https://naafa.org/" rel="noopener noreferrer" target="_blank">National Association to Advance Fat Acceptance</a><br /> <br /> National Center on Disability and Journalism: <a href="https://ncdj.org/style-guide/" rel="noopener noreferrer" target="_blank">Disability Language Style Guide&nbsp;</a><br /> <br /> The Conversation: <a href="https://theconversation.com/watch-your-language-when-talking-about-autism-44531" rel="noopener noreferrer" target="_blank">Watch Your Language When Talking About Autism</a> (2015)</p>
  1. Trigger the report for the item using Desktop → Start → Reporting Tools → PowerShell Reports → Content Audit → Broken Links. Make sure to select the “External Links“ option.

Some of the links might respond really slow causing the progress bar in the desktop to look like it's broken (notice 42078.3443 ms)

42680 12:07:49 INFO  [Runner] Executing script {49C76CD6-5D9F-45B3-8799-84B9D0E59C1C} for Context User sitecore\Admin as sitecore\Admin.
ManagedPoolThread #3 12:07:57 INFO  [193.7315] https://www.rcpd.msu.edu/
ManagedPoolThread #3 12:07:58 INFO  [551.3765] https://webaccess.msu.edu/
ManagedPoolThread #3 12:07:58 INFO  [170.4348] https://adata.org/factsheet/ADANN-writing
ManagedPoolThread #3 12:07:59 INFO  [484.1586] https://www.ada.gov/index.html
ManagedPoolThread #3 12:07:59 INFO  [30.8919] https://www.ada.gov/index.html
ManagedPoolThread #3 12:08:00 INFO  [1396.1076] https://www.ahead.org/home
ManagedPoolThread #3 12:08:00 INFO  [211.1237] https://www.bestcolleges.com/conscious-language-guide/disability/
ManagedPoolThread #3 12:08:42 INFO  [42078.3443] https://cdrnys.org/disability-writing-journalism-guidelines/
ManagedPoolThread #3 12:08:44 INFO  [1435.5188] https://consciousstyleguide.com/ability-disability/
ManagedPoolThread #3 12:08:44 INFO  [181.778] https://naafa.org/
ManagedPoolThread #3 12:08:44 INFO  [533.2181] https://ncdj.org/style-guide/
ManagedPoolThread #3 12:08:44 INFO  [32.8538] https://theconversation.com/watch-your-language-when-talking-about-autism-44531

I would recommend these two things:

  • add timeout to the requests
  • add an extra information to override write-progress in the desktop, currently it can stuck on this message
    image
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