If the file is cached in Remote Client, php isn’t execute and don’t set CORS header.