DEV Community

Discussion on: Cleaver - A blazing-fast static site generator using Laravel’s Blade

Collapse
 
asilgag profile image
Alberto Silva

Have you considered Gatsby (or even Hugo)? Gatsby consumes data from JSON files (among lots of other sources) and gives you a large frontend ecosystem based on React.

Collapse
 
jonathantjh profile image
Jonathan

Is there some kind of plugin integration with laravel without stuff like react

Collapse
 
asilgag profile image
Alberto Silva

No, Gatsby is just NodeJS and React. Do you need Laravel for some reason? Give Gatsby a try since I think it solves all your needs. Or maybe Hugo if you don't feel confortable with React. Both of them will give a more scalable solution for your JSON data.

Thread Thread
 
jonathantjh profile image
Jonathan

I see, i'm not a NODEJS/REACT guy, just run site with pure laravel. Yeah I'm looking for "static site" solutions because my content are pretty static and it's growing.

We are looking at a few million pages. Trying to find way to increase the load speed and static seems to be the way..

Thread Thread
 
asilgag profile image
Alberto Silva

If you are trying to generate a static site with millions of pages, you should definitively take a look at Hugo. It's able to generate 1,000 pages per second. Gatsby generates ~10,000 pages per minute.

Thread Thread
 
aschmelyun profile image
Andrew Schmelyun

Definitely have to love the power of the Go language being so close to the metal!

Collapse
 
desenfirman profile image
Dese Narfa Firmansyah

Been migrating from Jekyll to GatsbyJS. I can say that they're blazing fast, especially when navigating from page to page. The only problem is they have slow in compiling or generating page (probably because I put too many npm package, haha).

But, Hugo is pretty interesting too when you mention it's able to generate 1000 pages per second. Gonna try if I got spare time.

Collapse
 
aschmelyun profile image
Andrew Schmelyun

I've tried using Gatsby a few times, and it's definitely great for the same use cases (data-driven sites and online documentation), but I love using Blade so much I wanted a solution to do both!