Comments (7)
@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.
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.
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.
@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.
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.
@pauleveritt sorry, misread you :(
Totally agree with you.
from trypyramid.com.
Currently it loads ~17 assets, with ~1.53 MB of data transfer. It's fine.
from trypyramid.com.
Related Issues (20)
- New Pyramid Module for mongodb HOT 1
- Reorganize navigation to improve visibility of documentation HOT 2
- Add Websauna project to Powered by Pyramid HOT 1
- Add Samba Sprint as an event on https://trypyramid.com/community-events.html HOT 1
- Add MLBPool2 to Powered by Pyramid HOT 1
- the extending page is wildly out of date HOT 4
- Update Community Events
- Unable to run "npm run dist" HOT 2
- Recatgorize pyramid_authstack and pyramid_multiauth from authorization to authentication
- Add pyramid-resource to "Extending Pyramid" HOT 1
- Add "Office national des forêts" website HOT 3
- Add "Ulthar.net" website HOT 1
- Site using Pyramid: repository.akbild.ac.at
- Powered by Pyramid, company Klein & Partner KG HOT 1
- Powered by Pyramid, Company: gocept HOT 1
- jQuery 3.5.0 breaks Bootstrap Collapse HOT 6
- bootstrap-multiselect is broken with jQuery 3.5.1 HOT 5
- Add pyramid-dynamodb-sessions to Extending Pyramid HOT 1
- google groups embedding deprecated HOT 4
- Expanding code samples on the home page not working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trypyramid.com.