Staatic – Static Site Generator

설명

Staatic lets you create and deploy a streamlined static version of your WordPress site, enhancing performance, SEO, and security simultaneously.

Features of Staatic include:

  • Powerful Crawler to transform your WordPress site quickly.
  • Supports multiple deployment methods, e.g. Netlify, AWS (Amazon Web Services) S3 or S3-compatible providers + CloudFront integration, or even your local server (dedicated or shared hosting).
  • Very flexible out of the box (allows for additional urls, paths, redirects, exclude rules, etc.).
  • Supports HTTP (301, 302, 307, 308) redirects, custom “404 not found” page and other HTTP headers.
  • CLI command to publish from the command line.
  • Compatible with WordPress MultiSite installations.
  • Compatible with HTTP basic auth protected WordPress installations.
  • Various integrations to improve compatibility with popular WordPress plugins.

Depending on the chosen deployment method, additional features may be available.

Staatic Premium

In order to support ongoing development of Staatic, please consider going Premium. In addition to helping the authors maintain Staatic, Staatic Premium adds additional functionality.

For more information visit Staatic.

스크린샷

  • Use your WordPress installation as a private staging environment and make all of the modifications you need. Then publish these changes to your highly optimized and consumer facing static site with the click of a button.
  • Monitor the status of your publications while they happen and review details of past publications to easily troubleshoot any issues.
  • Configure and fine tune the way Staatic processes your site to suit your specific needs.

설치

Installing Staatic is simple!

Install from within WordPress

  1. Visit the plugins page within your WordPress Admin dashboard and select ‘Add New’;
  2. Search for ‘Staatic’;
  3. Activate ‘Staatic’ from your Plugins page;
  4. Go to ‘After activation’ below.

Install manually

  1. Upload the ‘staatic’ folder to the /wp-content/plugins/ directory;
  2. Activate the ‘Staatic’ plugin through the ‘Plugins’ menu in WordPress;
  3. Go to ‘After activation’ below.

After activation

  1. Click on the ‘Staatic’ menu item on the left side navigation menu;
  2. On the settings page, provide the relevant Build & Deployment settings;
  3. Start publishing to your static site!

FAQ

How will Staatic improve the performance of my site?

Staatic transforms your dynamic WordPress site into a streamlined static site. Starting at the homepage or a designated URL, Staatic uses a web crawler to methodically navigate through every link, post, and page. As it moves through the site, dynamically generated content is captured and converted into static HTML files, while simultaneously fetching related assets like images and scripts.

By eliminating both WordPress and PHP from the delivery process, pages from your site are served instantly, bypassing the delay of on-the-fly generation. This guarantees the quickest possible load times and significantly reduces the time to first byte (TTFB), offering an unparalleled browsing experience for your visitors and enhancing your site’s SEO positioning.

Why not use a caching plugin?

Caching plugins boost site performance by storing data for quicker access, yet they don’t fully bypass WordPress, introducing some latency. Additionally, after every update, these plugins need cache prewarming to serve the first requests quickly. In contrast, static sites are always ‘warmed up’, ensuring consistently rapid load times.

Furthermore, with Staatic, you gain the flexibility to host your site on any platform of your choice. This means you could opt for an ultra-fast cloud provider or a robust content delivery network, further amplifying your site’s performance and ensuring optimal user experience.

Will the appearance of my site change?

No, it shouldn’t. However, if there is a difference in the static version of your site, it might be due to invalid HTML in your original WordPress site that couldn’t be accurately converted. In such instances, consider checking your HTML’s validity using services like the W3C Markup Validation Service.

How will Staatic improve the security of my site?

By converting your site into static HTML pages, you substantially minimize the potential attack surface. This strengthens your website’s security and reduces the ongoing need to update WordPress, its plugins, and themes constantly. As a result, you can enjoy greater peace of mind, knowing your site is resilient to most threats.

Is Staatic compatible with all plugins?

Not entirely. When your site undergoes conversion to a static format, dynamic server-side functionalities become unavailable. As a result, plugins relying on these features – such as those processing forms or fetching external data – might not function immediately or might be unsupported altogether.

To accommodate such features, adjustments or alternatives may be necessary. Alternatively, you can opt for Staatic Premium, which seamlessly integrates some of these functionalities. For detailed insights, visit staatic.com.

Will Staatic function on shared or heavily restricted servers?

Staatic offers broad compatibility, only requiring the permissions to write to the working directory and to initiate an HTTP connection with your dynamic WordPress installation.

Where can I get help?

If you have any questions or issues, please have a look at our documentation and FAQ first.

If you cannot find an answer there, feel free to open a topic on our Support Forums.

Want to get in touch directly? Please feel free to contact us. We will get back to you as soon as possible.

후기

2023년 5월 15일 1 reply
Charging monthly is absolutely shameful and disrespectful to the ecosystem of Open Source that you've built your business on. Make a required one-time payment to support self hosted development, or rely on hosted solutions like any self respecting developer. At the very least, make the 'premium' and 'community' features more clear so we dont have to waste time downloading this garbage just to confirm if it can do what we want.
2023년 5월 3일 1 reply
Are you out of your minds?! You're charging customers monthly and yearly SUBSCRIPTIONS for SELF HOSTED headless WordPress? You're not even actively providing any services for self hosted. You're out of your minds and for this you get a 1 star rating from me.
2023년 3월 30일
I've been using Staatic Premium for around six months and found it to be a robust WP --> static solution. I don't have to worry about my web server going down or getting "too much" traffic (I use Cloudflare Pages). In fact, recently my host decided to shut down my server due to a problem with the hardware. My site continued to work as if nothing had happened. Performance is perfect, with my GTMetrix score (performance) at 100% !!! And just as important, support from the Staatic team is amazing. Yes, I recommend Staatic.
2022년 10월 25일
I have tried different plugins with varying degrees of success especially given the strict requirements of the deployment including: Ability to set the /tmp/staatic location as the working directory when deployed as a containerised app on a read-only filesystem. Accurately rendered all JS and CSS from complex layouts and sliders without needing to manually track down and add missed assets. Extremely responsive support from Team Staatic including working through the weekend to help resolve the slight issue I faced. 10/10 comes highly recommended!
2022년 8월 18일
The plugin gives you all you need and works like a charm. From generating static sites to publishing them in one click only. The great thing about the plugin is the team behind it. I had a few interactions, through the support forum, and they were amazing. Attended to the issues promptly. If the team keeps doing what they are doing, I think they will be unstoppable in WP SSG. Kudos Team Staatic.
모든 7 평가 읽기

기여자 & 개발자

“Staatic – Static Site Generator”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

“Staatic – Static Site Generator”(이)가 1(으)로 번역되었습니다. 기여해 주셔서 번역자님께 감사드립니다.

자국어로 “Staatic – Static Site Generator”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

1.6.3

Release date: November 8th, 2023.

Improvements

  • Allows publications that have started deployment to be redeployed.
  • Updates external dependencies.

Fixes

  • Fixes database schema setup issue, which may break handling of long URLs.
  • Fixes potential zip file corruption with publication download.

1.6.2

Release date: October 18th, 2023.

Improvements

  • Improves fallback URL extraction from any asset type to support various edge cases.
  • Increases size of table identifier columns to support larger datasets.
  • Updates external dependencies.

Fixes

  • Fixes database schema setup issue, which may break partial publications.

1.6.1

Release date: September 25th, 2023.

Features

  • Adds (basic) redirect integration for RankMath Plugin.

Improvements

  • Improves URL extraction from CSS assets to support various edge cases.
  • Improves URL extraction from XML sitemaps to support various edge cases.
  • Improves fallback URL extraction from any asset type to support various edge cases.
  • Updates external dependencies.

1.6.0

Release date: August 28th, 2023.

Features

  • Adds “Retain Files/Directories” setting to Amazon S3 (or compatible) deployment method.

Improvements

  • UX improvements to “Retain Files/Directories” settings.
  • Improves detection of environment variables when overriding settings.
  • Improves handling of symlinks while using “Additional Paths” setting.
  • Updates external dependencies.

Fixes

  • Fixes rendering of textarea settings when used as part of composed settings.

Earlier releases

For the changelog of earlier releases, please refer to the changelog on staatic.com.