The nocookie domain will be wrong. Domain sharding works by using the hash of the whole URL provided. Here the file name is appended after the hash is generated inside ``wfReplaceImageServer``.