Coder Social home page Coder Social logo

Comments (4)

ThePixelDeveloper avatar ThePixelDeveloper commented on June 9, 2024

Hi.

You mind going into why you'd want this information in the output? I'd normally wrap the process of generating the XML file with something that collects the metrics to be output somewhere else.

from sitemap.

holtkamp avatar holtkamp commented on June 9, 2024

Well, mainly for two reasons:

  • we got 3 caching layers in front of the application server, the generation timestamp allows me to verify whether al these caching layers work properly
  • some of the generated sitemaps are "huge" and require a significant amount of memory and time to generate, so some information about this is nice to be able to tune the memory assigned to the used application server containers (dyno's @ Heroku)

Of course this information can also be logged, but putting them in a comment makes it a bit easier to access.

from sitemap.

ThePixelDeveloper avatar ThePixelDeveloper commented on June 9, 2024

@holtkamp Sorry for taking a long time to respond to your comments.

I wasn't originally a fan of the idea, but I've come around to agreeing with you. You'll see a change come out soon. Will keep you updated.

Do you have any other ideas for the library?

from sitemap.

holtkamp avatar holtkamp commented on June 9, 2024

Sorry for taking a long time to respond to your comments.

No worries, I know time seems always scarce! Thanks for adopting the idea.

Do you have any other ideas for the library?

No, currently not, satisfies all posed needs... When I encounter something, will let you know!

Can you consider tag a new release with the comment functionality?

from sitemap.

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.