A URL Points to a Wrong File

Last updated: 2021-05-17 14:44:45


    • Symptom 1: A single URL points to different files.
    • Symptom 2: After I updated a file, I still accessed the old version of it.

    Possible Causes

    • The Content Delivery Network (CDN) cache has not expired.
    • The browser did not disable cache.
    • The accessed file is hijacked. As a result, the accessed file content is not as expected.

    Troubleshooting Procedure

    Check whether the CDN cache has expired

    Check whether the CDN cache has expired by referring to How do I tell whether user access has hit the CDN cache.

    Check whether your browser has disable cache


    The following uses Chrome as an example.

    1. Open Chrome.
    2. Press F12 to open the Developer Tools.
    3. Select the Network tab to see whether Disable cache is checked.

    Check whether the file is hijacked

    If the file accessed is not as expected (for example, the content-length or response headers are not as expected), your file has been hijacked. In this case, you are advised to access it over HTTPS.