Accessing file via URL

Our website’s subdomain (‘shop’) has a DNS only A record with the IP address of our hosting company.

In this directory is a file, final.csv, which contains product records for our catalog. The original file containing 30k+ records was over 17mb.

For testing purposes, I replaced this file via ftp with an abbreviated version containing 19 product records. This current final.csv is 15kb; I can download the file via ftp and confirm its size.

However, when accessing the file via its url (shop.clientdomain.com/final.csv), the original 17mb file downloads.

I’ve purged caches at Cloudflare, hosting company and browser.

Any insight into why the url doesn’t download the 15 file is greatly appreciated!

If you have Command Line access somewhere, type:
curl -I https://shop.clientdomain.com/final.csv

That will show you the headers. If cf-cache-status is HIT, then it’s in the Cloudflare cache. Otherwise, it’s coming from your server.

How is this related to Cloudflare then?
DNS only does not Cache anything. Or did i miss something? :thinking:

1 Like

I don’t think you missed a thing.

The hosting company is trying to lay the blame on Cloudflare, but the curl -I instructions do not contain cf-cache-status. Seems as though this is indeed a hosting issue.

1 Like

If there’s no cf-cache-status header, it doesn’t sound like it’s going through Cloudflare at all. Are there any Cloudflare headers in there?

1 Like

Here’s the full response to the Curl -I:
HTTP/1.1 200 OK Date: Fri, 24 Jan 2020 23:41:55 GMT Server: Apache Upgrade: h2,h2c Connection: Upgrade Last-Modified: Mon, 20 Jan 2020 20:56:28 GMT Accept-Ranges: bytes Content-Length: 20663067 Referrer-Policy: Content-Type: text/csv

That’s definitely not going through Cloudflare. Server: would be ‘cloudflare’
So, as @MarkMeyer hinted at, it’s not a Cloudflare issue.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.