tencent cloud

Cloud Object Storage

A URL Points to a Wrong File

PDF
Modo Foco
Tamanho da Fonte
Última atualização: 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.

Ajuda e Suporte

Esta página foi útil?

comentários