Linux 软件免费装
Banner图

Make Me Static, Static Site Generator, Git, Pages and Live Stats

开发者 madpenguin
更新时间 2024年12月4日 05:14
PHP版本: 7.4 及以上
WordPress版本: 6.6.3
版权: GPLv2 or later
版权网址: 版权信息

标签

performance security stats static static site generator

下载

1.1.47 1.1.43 1.0.231 1.0.213 1.0.247 1.1.42 1.1.45 1.1.48 1.1.24 1.1.8 1.1.2 1.1.3 1.1.23 1.1.30 1.1.31 1.1.7 1.0.191 1.0.192 1.0.193 1.0.190 1.0.239 1.1.32 1.1.33 1.1.35 1.1.36 1.1.38 1.1.39 1.1.41 1.1.46

详情介绍:

Welcome to the Make Me Static Plugin for Wordpress. This plugin is a static site generator and aims to create and maintain a static copy of your Wordpress website within a Git repository. This version includes automatic access to a free Git solution and Page provider platform. (so no setup or credentials are necessary) Alternatively the static site can be generated and stored in a GitLab Git Repository that can be used as a source for a static page platform such as CloudFlare Pages. The plugin provides customised sitemap and change tracking which connects to an external crawling service which does all the heavy lifting. We have made great efforts in this version to minimise the configuration required to get going, if you have any problems (with anything) please let is know and we'll do our best to help. Check out this YouTube video for an introduction to static front-ends and a walk-through of converting a pre-existing WordPress site into a WordPress site with a static front-end. https://youtu.be/ZJ5IDgZ9u-Q How the service works The plugin connects to a directory service on the Internet at one of the directory URL's listed below. This in turn will point the plugin to a 'crawler' that has been allocated to your site. When you ask the plugin to make a static copy of your site, it will instruct the crawler to visit all the pages on your site to determine which have changed since it's last visit. Any changed pages will be copied to a Git repository, which in turn can publish pages directly to a page hosting service. The default option is to use a Git account hosted by MadPenguin, and to publish the site on MadPenguin's page hosting platform. As a result the default options do not require any specific Git or Page hosting configuration to get going. If on the other hand you choose to use a hosted Git service such as GitLab, you will need to enter some credentials for your online account, and from there configure your GitLab account to publish to a page hosting service. Once you have successfully published a static copy of your site, all you need to do is point your domain at the address of the page hosting service, and asssuming your domain matches the one you entered when setting up your profile within the plugin, you should be up and running. The service retains a metadata database for the site which includes file names, sizes and modification times, together with any credentials that have been added when creating a profile. (Sensitive credentials and other information is encrypted at rest). The external service is responsible for all scanning and processing activities to mitigate strain on the Wordpress server. The only private data transferred to the external service is the information you enter when creating a profile. All other information is obtained via an anonymous external scan, hence publically available. If you have selected the default Git option, then the service will also retain a static copy of the site. Useful references Make me static directory service URL's; Other URL's used to load code; Note that this in an integrated solution, the 3rd party crawling service is owned and operated by the plugin authors on a combination of cloud hosted and on premesis equipment. Live Web Statistics (experimental) If you opt to use the integrated Pages platform, this also provides a live WebStats option that uses the following URL; This allows live webstats to be seamlessly delivered into your control panel and updated in real-time via a websocket connection. Do not use this URL directly! This URL is only referenced once you click on the webstats icon next to your profile. How Does it work? The Wordpress site is scanned by the MMS service under direction from the Wordpress plugin. This off-loads the scanning process to specialised software which aims to minimise the loading on the Wordpress server while scans are in progress. There are three types of scan that can be performed; As the site is scanned "from the outside" there should be no risk of the plugins actions exposing any data that isn't already public. By the same token the external service has no ability to modify Wordpress so the security footprint of the plugin is tiny. Feature bullet points The Technology

屏幕截图:

  • Setup Wizard Frame, Intro
  • Setup Wizard Frame, Site Details
  • Setup Wizard Frame, Operating Instructions
  • Setup Wizard Frame, Verification
  • Setup Wizard Frame, Ready
  • Dashboard, Live Web Stats (wide view)
  • Dashboard, Partial Live Stats detail

升级注意事项:

1.0.102 This is an initial release.

常见问题:

Are all the features free?

Yes, the license relates to number of scans per day, scan rates, database size etc

Will it work on any Wordpress site?

In theory yes, although compatibility and interaction with with plugins will vary. The production process tries to be be clever when it comes to rewriting URL's for AJAX, forms etc, but given the number of potential edge cases this will always be ongoing. (please request support for specific plugins if you're having problems. We can't guarantee to add support, but we'll be happy to take a look to see what's involved.)

How "good" is it?

For a few examples, take a look at;

In your plugin, if you look at the "Profiles" view, the first column is labelled "Profile". If you click on the profile name, it will attempt to link to where it thinks your static site should be if it has been published. If you are using GitLab, this link should be to the "public URL" entered into your profile. If you are using the default Git option, this link should point to a unique URL on the MadPenguin pages platform. = How to I point my domain at my new static site? First you need to make sure you have verified your email address, do this by clicking on the Subscription button at the top of the screen. There is no obligation here, it's Free, we just need a point of reference before allowing you to point a domain at us. When you've done this, edit the profile to which you want to add a domain. If your email address has been verified, you should see a "domain" field. Enter your domain in here (just the domain, so "abc.com" or "test.abc.com") then click in the orange "verify" button next to it. This will give you instructions on which DNS records you need to add to make it work. This might take a short while, you can click on "verify" and "Ok" repeatedly to re-check the result. Once it's verified, you will get a green tick next to the domain and the Orange button will turn blue. If you then click "confirm" to close the edit window, clicking on the profile name in the list of profiles should hopefully take you to your new site via your new domain.

The Crawl doesn't find any pages?

  • Make sure you set your permalink structure to be something other than "Plain" as this mode won't generate a file and folder structure suitable for a static site.
  • Make sure you have NOT enabled "short tags", so you need "short_open_tag = Off" in your PHP config

How quick it is?

This depends to an extent on the speed of your website, but also on the crawl rate you select. If you are running your Wordpress effectively as an off-line copy and presenting your main site as a static, and are prepared to hammer your Wordpress instance when it comes time to update, it's pretty quick.

Looks like the scan rate isn't being applied?

The scan rate ONLY affects pages, it is assumed static assets will be subject to caching hence will be scanned as fast as the scanner can go based on the number of cores at it's dispostal.

The progress bar isn't linear?

No, it's based on the number of items remaining vs the number scanned. As assets are "discovered", they will be added to the "pages remaining" total. There is no way of knowing how many assets will be discovered, so the progress indicator is a "best effort".

If no changes are detected on the site, will the Git repository see a commit or PR?

No. If it does, then the plugin thinks something changed. You will be able to see what got updated by looking at the commit / PR on your Git control panel. (or with "git diff")

The label next to my profile says "Pending", what does that mean?

It means the plugin thinks "something" has changed on the site. It watches for changes to posts, pages, comments, images, plugin updates etc. It might be the change doesn't affect your site so a sync will have no effect - but it has no way of know that until you actually do a sync.

How to I add specific static assets to the process?

In your "wp-config.php" file, you need to add a define section, in this example we're including the "static" folder in your wordpress directory, so all assets in this folder tree will be included. define( 'MAKE_ME_STATIC_FOLDER_WLIST', ['static']);

  • To prevent folders from being scanned, in this example we're excluding an entire plugin;
define( 'MAKE_ME_STATIC_FOLDER_BLIST', ['wp-content/plugins/my-bad-plugin']);

Does this work over HTTP?

  • No. Your site will need at least to have a front-end HTTPS front-end. Always make sure your site address in Settings -> General reflects the HTTPS address you want the plugin to use.
= Does this work with Plain permalinks?
  • No, if you have a .php file in your link, this site will not work well as a static site. A good choice is something based just on the post name, time, date etc.
= How do I see my Live WebStats for Free?
  • Live WebStats are a fearure of the MakeMeStatic Pages platform, so to see live webstats on your console you will need to;
  • Select the "default" git option
  • Sync your site so you have a static copy
  • Point a REAL domain at your site by verifying your email address (subscription button)
  • Add your domain name to your profile
  • Click on "verify" next to the domain
  • Add the two DNS records listed to your DNS setup
  • Click verify, assuming this works, you should be good to go
  • There should be a green Stats button next to your profile .. access your new domain name and wait 10-15 seconds for the stats to become available
More Detail can be found here ... https://makemestatic.com/

更新日志:

1.1.48 1.1.47 1.1.46 1.1.45 1.1.43 1.1.42 1.1.41 1.1.38 1.1.36 1.1.35 UI Improvedments 1.1.30 UI improvements 1.1.2 Major new release 1.0.247 Back-end crawling improvements 1.0.239 Crawler improvements and documentation 1.0.231 Useful fixes for new users 1.0.213 Misc Bug fixes and edge case traps 1.0.193 Updating readme.txt 1.0.191 Updating assets and readme.txt 1.0.189 Wordpress Directory Initial Release 1.0.102 Third submission: 1.0.97 Second submission with changes to namespacing and various documentation changes. (no change in functionality) 1.0.58 Initial Directory Submission