简体   繁体   中英

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. Recently I've been trying to optimize my site for SEO/Speed with googles PageSpeed Insights tool. 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. 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".

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM