[英]Optimizing Javascript and CSS used BY my web site but not located ON my website?
I have a Contact Us plugin on my website. 我的网站上有一个“ 联系我们”插件。 It's made and operated by Dropifi.
它由Dropifi制作和操作。 Recently I've been trying to optimize my site for SEO/Speed with googles PageSpeed Insights tool.
最近,我一直在尝试使用Google PageSpeed Insights工具针对SEO / Speed优化我的网站。 Now, I've enabled compression using with GZip for everything on my site, but google is pointing out .js and .css files located on Dropifis site as necessary to compress.
现在,我已经使用GZip对网站上的所有内容启用了压缩功能,但google指出了Dropifis网站上的.js和.css文件,以进行压缩。 Its also asking me to leverage browser caching for files on their site as well.
它还要求我也利用浏览器缓存在其站点上查找文件。 Is there ANY way to help this without removing the plugin?
有什么办法可以在不删除插件的情况下帮助您?
You could use both cssminifier.com and javascript-minifier.com and their "API". 您可以同时使用cssminifier.com和javascript-minifier.com及其“ API”。
Just send a POST-Request to http://cssminifier.com/raw?input=YOURCSSFILE and http://javascript-minifier.com/raw?input=YOURJSFILE and you receive the compressed version. 只需将POST请求发送到http://cssminifier.com/raw?input=YOURCSSFILE和http://javascript-minifier.com/raw?input=YOURJSFILE ,即可收到压缩版本。
Notice that I'm not sure, if they are fast enough to achieve an improvement, but the CSS and JS Code will be compressed, just the way you want it. 请注意,我不确定它们是否足够快以实现改进,但是CSS和JS代码将按照您想要的方式进行压缩。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.