首页 开发技术 其它     /    host-webfonts-locally:只需单击2次按钮,CAOSforWebfonts就会自动将您想要的Google字体下载到WordPress的内容文件夹中,为其生成样式表,并将其排入主题标题中-源码

host-webfonts-locally:只需单击2次按钮,CAOSforWebfonts就会自动将您想要的Google字体下载到WordPress的内容文件夹中,为其生成样式表,并将其排入主题标题中-源码

上传者: weixin_42123456 | 上传时间:2015/11/18 8:22:44 | 文件大小:52KB | 文件类型:ZIP
host-webfonts-locally:只需单击2次按钮,CAOSforWebfonts就会自动将您想要的Google字体下载到WordPress的内容文件夹中,为其生成样式表,并将其排入主题标题中-源码
OMGF|在本地托管Google字体OMGF自动在本地缓存主题/插件使用的Google字体。
无需配置(或大脑)!描述通过Google服务使用字体怎么可能会违反GDPR?事实是,当用户的浏览器请求字体时,其IP由Google记录并用于分析。
—Lifehacker利用OMGF,以100%符合GDPR的方式利用浏览器缓存,最小化DNS请求并为您的Google字体提供服务!OMGF在编写时会考虑功能和用户友好性。
它使用GoogleFontsHelperAPI自动缓存主题和插件使用的字体,以最小化DNS请求并加快WordPress网站的速度。
它是如何工作的?安装插件后,OMGF会在后台静默运行,并捕获对fonts.googleapis.com或fonts.gstatic.com的所有请求。
首次加载网页时,它将这些请求重新路由到其自己的DownloadAPI,并将字体复制到您的服务器上。
然后,它将为您的字体生成样式表,包括EOT,TTF,WOFF和WOFF2格式,以确保最大的跨浏览器兼容性!下载字体并生成样式表后,它将指向fonts.googlea 本软件ID:14968082

文件下载

资源详情

[{"title":"(26个子文件52KB)host-webfonts-locally:只需单击2次按钮,CAOSforWebfonts就会自动将您想要的Google字体下载到WordPress的内容文件夹中,为其生成样式表,并将其排入主题标题中-源码","children":[{"title":"host-webfonts-locally-master","children":[{"title":".gitignore <span style='color:#111;'>36B</span>","children":null,"spread":false},{"title":"templates","children":[{"title":"admin","children":[{"title":"block-welcome.phtml <span style='color:#111;'>5.65KB</span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"ffwp-autoload.php <span style='color:#111;'>1.74KB</span>","children":null,"spread":false},{"title":"assets","children":[{"title":"js","children":[{"title":"omgf-admin.js <span style='color:#111;'>7.55KB</span>","children":null,"spread":false}],"spread":true},{"title":"css","children":[{"title":"omgf-admin.less <span style='color:#111;'>3.64KB</span>","children":null,"spread":false},{"title":"omgf-admin.css <span style='color:#111;'>4.45KB</span>","children":null,"spread":false},{"title":"omgf-admin.css.map <span style='color:#111;'>1.49KB</span>","children":null,"spread":false},{"title":"omgf-admin.min.css <span style='color:#111;'>1.21KB</span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"LICENSE <span style='color:#111;'>1.05KB</span>","children":null,"spread":false},{"title":".svnignore <span style='color:#111;'>36B</span>","children":null,"spread":false},{"title":"readme.md <span style='color:#111;'>3.66KB</span>","children":null,"spread":false},{"title":"host-webfonts-local.php <span style='color:#111;'>1.35KB</span>","children":null,"spread":false},{"title":"readme.txt <span style='color:#111;'>26.83KB</span>","children":null,"spread":false},{"title":"includes","children":[{"title":"api","children":[{"title":"class-download.php <span style='color:#111;'>14.56KB</span>","children":null,"spread":false}],"spread":true},{"title":"admin","children":[{"title":"settings","children":[{"title":"class-detection.php <span style='color:#111;'>6.05KB</span>","children":null,"spread":false},{"title":"class-optimize.php <span style='color:#111;'>14.30KB</span>","children":null,"spread":false},{"title":"class-advanced.php <span style='color:#111;'>4.29KB</span>","children":null,"spread":false},{"title":"class-builder.php <span style='color:#111;'>6.01KB</span>","children":null,"spread":false}],"spread":true},{"title":"class-settings.php <span style='color:#111;'>10.38KB</span>","children":null,"spread":false},{"title":"class-notice.php <span style='color:#111;'>3.04KB</span>","children":null,"spread":false}],"spread":true},{"title":"class-ajax.php <span style='color:#111;'>1.99KB</span>","children":null,"spread":false},{"title":"class-admin.php <span style='color:#111;'>4.49KB</span>","children":null,"spread":false},{"title":"class-omgf.php <span style='color:#111;'>6.09KB</span>","children":null,"spread":false},{"title":"class-optimize.php <span style='color:#111;'>5.79KB</span>","children":null,"spread":false},{"title":"class-uninstall.php <span style='color:#111;'>2.08KB</span>","children":null,"spread":false},{"title":"frontend","children":[{"title":"class-functions.php <span style='color:#111;'>5.49KB</span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【好快吧下载】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【好快吧下载】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【好快吧下载】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,8686821#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明