[wordpress插件] CacheHero快取英雄

wordpress 插件 文章 2020-03-15 12:50 470 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

As the internet grows older, link rot is becoming a serious problem.

随着互联网的变老,链接腐烂已成为一个严重的问题。

Dead links hurt your SEO ranking and reduce the value of your “evergreen” content.

无效链接会损害您的SEO排名,并降低“常绿”内容的价值。

CacheHero eliminates link rot on your site by locally caching any external links in your site’s pages and posts.

CacheHero通过本地缓存站点页面和帖子中的任何外部链接来消除站点上的链接腐烂。

If an external link goes down, CacheHero will automatically rewrite the link URL to its cached version.

如果外部链接断开,则CacheHero将自动将链接URL重写为其缓存的版本。

CacheHero is designed to be “set and forget”.

CacheHero旨在“设置并忘记”。

It will work immediately upon installation and activation, but there are also some advanced settings such as blacklists of domains and extensions that you want the plugin to ignore (e.g. large video files).

安装和激活后即可立即使用,但还有一些高级设置,例如您希望插件忽略的域和扩展名黑名单(例如大视频文件)。

Demo site at http://www.cachehero.com

演示站点位于http://www.cachehero.com

PhantomJS Integration

PhantomJS集成

By default, CacheHero only caches the basic HTML of a linked page (unless the link is a direct link to a filetype such as PDF or JPG).

默认情况下,CacheHero仅缓存链接页面的基本HTML(除非该链接是指向诸如PDF或JPG之类的文件类型的直接链接)。

If you want to capture a more visually faithful version of the cached page, CacheHero can work with an installed PhantomJS binary to take screenshots of HTML pages.

如果要捕获更直观的缓存页面版本,则CacheHero可以与已安装的PhantomJS二进制文件一起使用以捕获HTML页面的屏幕截图。

If enabled, visitors will be given the option to view either the CacheHero HTML version or the PhantomJS screenshot.

如果启用,则将为访问者提供查看CacheHero HTML版本或PhantomJS屏幕截图的选项。

Setting up PhantomJS integration in 3 easy steps:

通过3个简单的步骤设置PhantomJS集成:

    1. Download the appropriate PhantomJS binary (phantomjs.org) for your hosting platform.
    2. 下载适用于您的托管平台的PhantomJS二进制文件(phantomjs.org)。

    3. Install the binary on your server and make sure it is executable by the web process that runs PHP (if on Linux, running chmod a+x /path/to/phantomjs along with making sure that

    4. 在服务器上安装二进制文件,并确保该二进制文件可由运行PHP的Web进程执行(如果在Linux上,则运行 chmod a + x / path / to / phantomjs 并确保

      the server user can run the binary should be sufficient)

    5. 服务器用户可以运行二进制文件就足够了)

    6. Enter the absolute path (the ‘pwd’ command may be useful) to the binary on the CacheHero settings page
    7. 在CacheHero设置页面上输入二进制文件的绝对路径(“ pwd”命令可能有用)

安装步骤

    1. Upload CacheHero to the /wp-content/plugins/ directory
    2. CacheHero 上载到 / wp-content / plugins / 目录

    3. Activate the plugin through the ‘Plugins’ menu in WordPress
    4. 通过WordPress中的“插件”菜单激活插件

    5. Click the ‘Settings’ link in the plugins row to configure the plugin
    6. 点击插件行中的“设置”链接以配置插件

下载地址
https://downloads.wordpress.org/plugin/cachehero.1.0.6.zip
-EOF-

AI助手支持GPT4.0