tencent cloud

All product documents
Cloud Object Storage
A URL Points to a Wrong File
Last updated: 2024-03-25 18:01:58
A URL Points to a Wrong File
Last updated: 2024-03-25 18:01:58

Problems

Problem 1: The same URL points to different files.
Problem 2: After a file is updated, its old version is still accessed.

Possible Causes

The CDN cache has not expired.
The browser cache is not disabled.
The accessed file is hijacked, so the accessed file content is not as expected.

Troubleshooting

Check whether the CDN cache has expired

Check whether the CDN cache has expired as instructed in Cache Configuration FAQs.
If not, purge CDN URLs or directories as instructed in Purge Cache.

Check whether the browser cache is disabled

Note:
The following uses Chrome as an example.
1. Open Chrome.
2. Press F12 to open the Developer tools.
3. Select the Network tab and check whether Disable cache is selected.


If not, select Disable cache and restart the browser.

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), the file has been hijacked. In this case, we recommend you access it over HTTPS.
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon