English French German Spanish Russian
Image Cache on client - Web Apps - Ryzom Community ForumHomeGuest

Web Apps


uiWebPrevious1uiWebNext

#1 [en] 

I'm using a php script to generate a dynamic image. I noticed the ryzom client is caching images by url (?) and does not refresh them, even with the php script generating a new one.

One solution I found, is to attach a random number to the script like <img src="script.php?816348368"> but this is a very crude solution.

Are there more elegant ways to bypass this "dirty cache" problem of the client?

Thanks,
arc

---

#2 [en] 

Arcueid
Are there more elegant ways to bypass this "dirty cache" problem of the client.
There is (style="reload:1") in the code which is supposed* to trigger reload and only keep single file on cache.

*but it does not do that currently, because cached file is not deleted.

Cache busting (image.jpg?random) is standard way of doing things tho

Last edited by Karu (2 years ago)

---

Hello!
uiWebPrevious1uiWebNext
 
Last visit Wed Jul 18 16:02:14 2018 UTC
P_:

powered by ryzom-api