4 ms·
It's a shame they don't seem to try to address the divide between CMS's and static sites. Most WordPress sites could just be static, but WordPress has a nice e
by spankalee 6mo ago
It's a shame they don't seem to try to address the divide between CMS's and static sites.
Most WordPress sites could just be static, but WordPress has a nice editor interface, so they're not - unless you use a SSG plugin. Building that into the core workflow (which I believe Astro supports) and giving users a nice hosted editor that produces a static site would be welcome innovation.
- MattieTK 6mo agoEmDash with some aggressive caching and SWR is effectively this, and we're getting closer to that every day. When the cost of maintaining the data part of the CMS is effectively free, you're basically working with a static site anyway.
- Y-bar 6mo agoI haven’t used Wordpress for a few years. But with WP Super Cache (1) we also always did pretty much that: On saving a post/page the static HTML would be written to a cache directory and be the default content served to visitors. [1] https://wordpress.org/plugins/wp-super-cache/ https://wordpress.org/plugins/wp-super-cache/
- RobotToaster 6mo agoThe issue with static sites is they can't do comments.
- Closi 6mo agoThey can - it’s just more complex. You just put the comments into something like firebase/supabase etc or use one of many off the shelf solutions. Free tier is fine.
- egypturnash 6mo ago"Just" sure is doing a lot of heavy lifting in this sentence.
- deleted 6mo ago[deleted]
- RobotToaster 6mo agoIs it still a static site then? You could just do it with CGI scripts, without the external dependencies, but that isn't really static either.
- DANmode 6mo agoI run static sites for my clients, with embedded forms. Performance says they’re definitely still static sites!
- Closi 6mo agoDepends what you would call that architecture then I guess! I run my local theatre website by writing the posts in markdown, and then have some github actions which use Hugo to turn it in to a static site and then uploads the content to an S3 bucket. The site itself has dynamic content like within-website ticket buying from eventbrite and a contact form that sends email using an external service. It also calls in things like google analytics. Does this still count as static? Personally I think so, Even though there are 'dynamic' elements. IMO static refers more about how the content is served rather than saying that the content can’t be ‘dynamic’ as lots of Wordpress sites have static/non interactive content but still regenerate the html on each page load.
- input_sh 6mo agoAstro would call that an island: https://docs.astro.build/en/concepts/islands/ https://docs.astro.build/en/concepts/islands/ I guess this is our answer to the question of why Cloudflare acquired it in the first place.
- __david__ 6mo agoIsn’t that just the way old school Perl/ruby/php web apps from 20 years ago did things but with a fancy name?
- qingcharles 6mo agoI bet 99.9% of live Wordpress sites no longer have comments enabled.
- spankalee 6mo agoSo many WordPress sites don't have comments.
- pwython 6mo agoI've been migrating a few Wordpress sites from Wordpress to Astro + Strapi recently, working in 'hybrid mode' so the entire site is static except for post previews in Strapi (only that one route is SSR). Editing content in Strapi, once customized with CKEditor and such, is Wordpressy enough for the human Editors familiar with WP. So far I'm loving the stack.
- carlosjobim 6mo agoI don't even think the WordPress editor is very nice. It's completely separated from how the actual results look. There are CMSs which lets you edit directly in the web page exactly as it will look when published. As do most productivity software, like MS Office, Photoshop, Apple's iWork, etc. Imagine making a document in Word, and it looks completely different when published.