Single comment thread
See full discussion

I made something similar with PHP a long time ago, you can just trick the server with an index.php (or hbs, js, rb) and redirect to a static page on html/haml in any route you want. Meanwhile, you are still using the rest of your routes as dynamic.

At least with rails and Django is possible or you can just serve all your dynamic app with a subdomain (easy) and done.

Yeah the problem is even if I still serve the static page it will crash my server if traffic is large. Bcz I will be using a server on my domain & from there it will serve a static & a dynamic page but still I need a server. And as Jesper said, it will affect the server but let's see I'm gonna make that shit first. Overthinking is bad & its my favourite habit 😂

Home
Search
Messages
Notifications
More