thegulshankumar on "preparing for autoptimize 2.1.0; wanna test?"

ساخت وبلاگ

Thanks Frank for your kind reply as always.

I tested the function code which you have provided me, I couldn't found any effect. May be it work, but for me it is not working as per my requirement.

Let's please consider ao.example.com is my home URL. Okay
So, I want http://www.gulshankumar.net (home url) in AO CDN field, and http://static.gulshankumar.net in keycdn field. Exactly, I did this settings.

Result:
In source code, there was extra http:
<link type="text/css" media="all" href="http:http://www.gulshankumar.net/wp-content/s/css/gk_1353f62b5447893845936ebbc18b6449.css" rel="stylesheet" />

I also noticed this first time: AO accept CDN URL only with http://(As I tested with HTTP protocol only, can't say about HTTPS or any other)

Thus, when I keep only www.gulshankumar.net then field color goes red, and when I tried to Save, Google-Chrome says- Type properly in right format.

At last I thought to keep CDN field blank (because, I want to serve AO resources with home URL, means no CDN but still I want to use Key CDN enabler with static.gulshankumar.netfor other resources like images, etc except AO resources).

Final result:
#1 AO touched only Inline CSS & Js. (Here, I was expecting to get full aggregated like AO do usually when I keep same subdomain at both plugin)
#3 Still ignored all plugin and theme CSS & JS.

Please refer to:-
https://gtmetrix.com/reports/www.gulshankumar.net/IasG1VB2#waterfall

Summary: Meaning by this, when I keep same subdomain (static.gulshankumar.net) as CDN is both field, then everything work perfect. AO do own work, and keycdn enabler handle images and other static resources with my static subdomain. But, for instance I don't want to keep any CDN URL for AO.

Regarding AO issue, Kindly let me know, if I need to explain more. I think this problem should be fixed because, may be some other guys think to serve AO resources with other CDN..

Sincerely,
Gulshan

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 410 تاريخ : جمعه 22 مرداد 1395 ساعت: 20:17