Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache is too aggressive #28

Open
adapt7 opened this issue Aug 2, 2024 · 3 comments
Open

Cache is too aggressive #28

adapt7 opened this issue Aug 2, 2024 · 3 comments

Comments

@adapt7
Copy link

adapt7 commented Aug 2, 2024

Hi there, I use latest version available of tonutils-reverse-proxy-linux-amd64.

My website updates every few minutes. When I test it from desktop browser all works fine. However when run through proxy and accessed by tonsite:// protocol from Telegram Destkop or Mobile app, the website data is very often out of date around 30-60 minutes, regardless of hitting Refresh button. No errors in logs, just normal access logs.

This looks like the proxy app (or Telegram?) caches the website content.

Can you provide any workaround please? That aggressive cache makes website unusable due to outdated content.

@xssnick
Copy link
Contributor

xssnick commented Aug 3, 2024

Hi, yes, looks like telegram caches data, but i believe they should make it shorter soon

@websharik
Copy link

websharik commented Aug 4, 2024

Android and Telegram Destkop dont using directly ton network yet. All .ton domains rewrite to -dton.magic.org (ex: foundation-dton.magic.org). Cache on magic.org side. Iphone works with directly ton network.

@Nashev
Copy link

Nashev commented Aug 8, 2024

Hm... At https://krutoscope-dton.magic.org I now see not the same content than at mac Telegram desktop client by click at krutoscope.ton

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants