Static Site Generator #43044
Unanswered
jordonbaade
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have this problem. I love Laravel, and all these JS libraries like Vue, React, etc. However, in my quest for page speed performance gains, sometimes I just don't want or need the extra overhead they bring.
And don't get me wrong, they're all super fast for what they give you given a good configuration. It's just... when you don't need all that stuff, you can get a faster response with plain HTML and minimal/no JS.
Static site generators like Jigsaw are wonderful, but I found myself wanting to use the latest Laravel Blade and Tailwind features so I'm drawn to Laravel again. Also, it's not terrible with Jigsaw and Laravel both using blade, but on the rare occasion I do have to upgrade a site and move to Laravel it is a bit of a chore.
So, what I'd like to see is built in static site generation.
I put together a solution already, Laravel made it crazy easy, but I'm sure the Laravel team could do better and it'd be nice built in.
I need to work out how to serve static routes next to dynamic ones, if at all possible, but for now it's still super handy to have one code base (and set of views) to generate a static site for one (sub)domain and serve a dynamic site on another.
Thoughts? Is this something you'd use if it were available built in or as a plugin?
Beta Was this translation helpful? Give feedback.
All reactions