[wordpress插件] application-cache-plugin应用程序缓存插件

wordpress 插件 文章 2020-02-20 04:00 468 0 全屏看文

AI助手支持GPT4.0

评分
94
描述

This plugin creates a dynamic HTML5 application cache manifest for each site and blogpost of your wordpress blog.

此插件为wordpress博客的每个站点和博客文章创建动态HTML5应用程序缓存清单。

Features so far:

到目前为止的功能:

– Sidebar-Widgets, Sites and Posts are cached.

–侧边栏小部件,站点和帖子被缓存。

– The Index Site of your Blog gets fully cached.

– Blog的索引站点已完全缓存。

– Support for the Advanced Customfields Plugin (only tested w/ standard version + repeater plugin) – On “Save post” event a new Appcache manifest will be generated (so the clients will update the content)

–支持高级Customfields插件(仅通过标准版本+转发器插件进行测试)–在“保存帖子”事件中,将生成新的Appcache清单(以便客户端更新内容)

What this plugin can not do: – Cache youtube videos.

此插件无法执行的操作:–缓存youtube视频。

– fix dead links

–修复无效链接

安装步骤

    1. Upload the appcache/ folder to your /wp-content/plugins/ directory
    2. 将appcache /文件夹上传到您的/ wp-content / plugins /目录

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

    5. Place manifest="/wp-content/plugins/appcache/manifest.appcache.php?appcache_id=

    6. 放置 manifest =“ <?php echo site_url();?> / wp-content / plugins / appcache / manifest.appcache.php?appcache_id = <?php echo the_ID()。”&referrer =“。

      urlencode($_SERVER['SCRIPT_URL']); ?>" in your header.php INSIDE the html tag.

      urlencode($ _ SERVER ['SCRIPT_URL']);您header.php中的?>“ 放在html标记内。

      It should look like this:

    7. 它应该看起来像这样:

    8. test it (look below in the FAQ)
    9. 测试它(在下面的FAQ中查看)

    10. Thats it, but feel free to look at settings -> appcache in your admin interface.

    11. 就这样,但是请随时在管理界面中查看设置-> appcache。

      There are a few settings you can do

    12. 您可以进行一些设置

下载地址
https://downloads.wordpress.org/plugin/application-cache-plugin.zip
-EOF-

AI助手支持GPT4.0