docsify icon indicating copy to clipboard operation
docsify copied to clipboard

Failed to load remaining requests correctly when trying to load more than 255 documents

Open LiarOnce opened this issue 3 years ago • 5 comments

Bug Report

Steps to reproduce

Create and load documents over 2000.

What is current behaviour

When I try to load more than 255 documents, the remaining documents, including pictures, cannot be loaded, and the error net::ERR_INSUFFICIENT_RESOURCES is returned.

However, after manually refreshing the page, the page is normal, but the same error is returned on all other pages. image

What is the expected behaviour

Render OK

Other relevant information

  • [x] Bug does still occur when all/other plugins are disabled?

  • Your OS: Windows 11 22000.675

  • Node.js version: 16.15.1

  • npm/yarn version: 8.11.0 (npm)

  • Browser version: Microsoft Edge 102.0.1245.39

  • Docsify version: 4.12.2

  • Docsify plugins:

    • search
    • docsify-sidebar-collapse
    • docsify-footer
    • docsify-copy-code

Please create a reproducible sandbox

Edit 307qqv236

Mention the docsify version in which this bug was not present (if any)

LiarOnce avatar Jun 13 '22 13:06 LiarOnce

Can you provide a reproducible repo?

sy-records avatar Jun 14 '22 02:06 sy-records

@sy-records Repo: https://github.com/GamemakerChina/GMS2_Manual_RoboHelp/tree/markdown

LiarOnce avatar Jun 15 '22 08:06 LiarOnce

Hi, I fork that repo and test locally, but I can not reproduce this issue ( Chrome [Version 102.0.5x] ). And maybe you could remove those docsify-footer plugins to try again.

Koooooo-7 avatar Jun 16 '22 11:06 Koooooo-7

@Koooooo-7 I have removed it but the problem still persists. The current temporary solution is to configure _sidebar.md separately for the part with the most content and use nested sidebars.

LiarOnce avatar Jun 16 '22 13:06 LiarOnce

Try to use Nginx, docsify-cli may not load so many files.

sy-records avatar Jun 19 '22 09:06 sy-records