Giter Site home page Giter Site logo

Comments (7)

technoweenie avatar technoweenie commented on May 11, 2024

How many pages is it returning? It's calling #title too, so it's parsing the title out of the formatted page. It's pretty important for the page index, otherwise you get pages out of order. Though, it's probably best to remove that code because basic gollum repos don't cache the formatted output. We cache all of that on GitHub, so I never noticed any performance hits.

from gollum.

henrikh avatar henrikh commented on May 11, 2024

My computer might be slow (it is), but it takes about one minute to serve the list of pages.

from gollum.

technoweenie avatar technoweenie commented on May 11, 2024

For how many pages?

from gollum.

henrikh avatar henrikh commented on May 11, 2024

25 pages

from gollum.

henrikh avatar henrikh commented on May 11, 2024

I've "fixed" it on my branch pages_sorted_by_title

from gollum.

technoweenie avatar technoweenie commented on May 11, 2024

Cool. I'll probably just remove the code and leave it as an exercise of the user to sort stuff. I hear ruby can do that pretty easily :) Thanks for the report!

from gollum.

technoweenie avatar technoweenie commented on May 11, 2024

Henrikh: I just reverted the commit: dd7dddd

from gollum.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.