The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 802 - File: showthread.php PHP 7.2.19-0ubuntu0.18.04.2 (Linux)
File Line Function
/showthread.php 802 errorHandler->error



Current time: 10-17-2019, 01:52 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Add headers for NGENIX CDN
05-23-2019, 06:56 PM
Post: #1
Add headers for NGENIX CDN
Hi.
We have found that NGENIX CDN is not detecting for some files that was downloaded from CDN.
Code:
Use a CDN for all static assets: 32/100
...
FAILED - https://static1.car.ru/js_min/5b3a8e955aa958f111b55c6560ab4447_firebase_subscribe_v2.js
FAILED - https://static1.car.ru/img/external-icon.png
FAILED - https://static1.car.ru/i2/left-arr-picture.png
FAILED - https://static1.car.ru/i2/right-arr-picture.png
FAILED - https://static1.car.ru/c_min/678eb49e32eb5cadaea0d6571f0db351_pictures.css
...
Code:
~ dig static1.car.ru
...
static1.car.ru.        29    IN    A    212.193.152.59
static1.car.ru.        29    IN    A    37.220.161.35

~ whois 37.220.161.35
...
descr:          Network for NGENIX

~ dig static1.car.ru NS
...
car.ru.            299    IN    SOA    ns1.ngenix-dns.net

I think it's because of lack NGENIX headers in "cdn_headers" list in optimization_checks.py

https://github.com/WPO-Foundation/wptage...ks.py#L197

NGENIX CDN can be detected with "x-ngenix-cache" header.

Code:
~ curl -v -o /dev/null https://static1.car.ru/img/external-icon.png
...
< x-ngenix-cache: HIT

Can you please add this header ?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Add headers for NGENIX CDN - elcanner - 05-23-2019 06:56 PM
RE: Add headers for NGENIX CDN - pmeenan - 05-24-2019, 03:28 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)