Code Monkey home page Code Monkey logo

Comments (7)

blaflamme avatar blaflamme commented on August 25, 2024

@stevepiercy sure we'll have to srtipdown somehow, but the real thing to test is in the dist directory. Now you're looking a the devmod, do run $ npm run dist and then open up the index.html file, this is what would be deployed. Make sure to not commit the dist directory until it's deployable, I'll take care of that once optimized.

In the end what we could do is to only include the parts we're using from bootstrap and the highlighter.

from trypyramid.com.

stevepiercy avatar stevepiercy commented on August 25, 2024

OK. I see now. It's down to 8 requests and 363Kb in dist. Agree on including only those parts we need from Bootstrap and Highlighter.js. Bootstrap is pretty easy, but I'm not familiar with Highlighter's process.

There is a build tool for Highlighter.js which might need to be run manually or could be included in the build process. It looks like it is not included in the npm package and would need to be pulled from the repo.

from trypyramid.com.

pauleveritt avatar pauleveritt commented on August 25, 2024

On Apr 15, 2015, at 3:54 PM, Steve Piercy [email protected] wrote:

OK. I see now. It's down to 8 requests and 363Kb in dist. Agree on including only those parts we need from Bootstrap and Highlighter.js. Bootstrap is pretty easy, but I'm not familiar with Highlighter's process.

There is a build tool for Highlighter.js http://highlightjs.readthedocs.org/en/latest/building-testing.html#building which might need to be run manually or could be included in the build process. It looks like it is not included in the npm package and would need to be pulled from the repo.

pylonsproject.org makes (according to Chrome) 65 requests. I think we can make optimization into some tasks for a post-launch milestone.

—Paul

from trypyramid.com.

blaflamme avatar blaflamme commented on August 25, 2024

@pauleveritt since pylonsproject.org will be refactored somehow after trypyramid.com I wouldn't put too much effort on improving it. It still works in its actual form.

from trypyramid.com.

pauleveritt avatar pauleveritt commented on August 25, 2024

Actually that is my point as well. I used pylonsproject.org to reflect that we can live with a bunch of requests. Most important thing is to get something out the door.

—Paul

On Apr 15, 2015, at 6:19 PM, Blaise Laflamme [email protected] wrote:

@pauleveritt https://github.com/pauleveritt since pylonsproject.org will be refactored somehow after trypyramid.com I wouldn't put too much effort on improving it. It still works in its actual form.


Reply to this email directly or view it on GitHub #3 (comment).

from trypyramid.com.

blaflamme avatar blaflamme commented on August 25, 2024

@pauleveritt sorry, misread you :(

Totally agree with you.

from trypyramid.com.

bertjwregeer avatar bertjwregeer commented on August 25, 2024

Currently it loads ~17 assets, with ~1.53 MB of data transfer. It's fine.

from trypyramid.com.

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.