5 ms·
It’s actually fairly simple I think, but will probably lead you away from most modern client-side JS frameworks. - render the website on the server (with PHP,
by clorohk 5y ago
It’s actually fairly simple I think, but will probably lead you away from most modern client-side JS frameworks.
- render the website on the server (with PHP, Ruby, JS, Java, whatever you’re comfortable with)
- deliver HTML and CSS only as far as possible
- reduce JS to a minimum and stick to raw JS where possible (or use simple libraries like jQuery)
- use native fonts wherever possible
- rely on as few third party elements as possible (chats, popups, etc). You can’t control what they are doing/loading.
Very unsexy way of doing web development but worked for me anytime I had to do a project for a client.
Here’s a website of mine where I pushed my approach to the limit: https://www.pinhok.com/ https://www.pinhok.com/ (and yes, you could still produce nice designed websites with this approach, wasn’t the main target for me for this website for now)