haxeflixel - Haxe flixel html5 assets is requested with unique keys in query. How to avoid it? - Stack Overflow

admin2025-04-18  3

Admited is result of lime build html5. Assets requests in Haxe Flixel ends with unique key in query. Like http://127.0.0.1:3000/assets/images/soldier.png?582765 after ?. How to exhaust it, just to pass URI for file without query params?

I have a web-server setted-up not to pass file if URI's contains any query params. I've tried to change server, but now trying to fix it by Haxe Flixel itself.

Admited is result of lime build html5. Assets requests in Haxe Flixel ends with unique key in query. Like http://127.0.0.1:3000/assets/images/soldier.png?582765 after ?. How to exhaust it, just to pass URI for file without query params?

I have a web-server setted-up not to pass file if URI's contains any query params. I've tried to change server, but now trying to fix it by Haxe Flixel itself.

Share asked Jan 30 at 6:13 Сережа БелоусСережа Белоус 11 bronze badge
Add a comment  | 

1 Answer 1

Reset to default -1

Modify Asset Paths in Project.xml

Edit your Project.xml and disable cache-busting by setting:

<haxedef name="FLX_NO_CACHE_BUSTING" />

This should prevent HaxeFlixel from appending query parameters to asset requests.

转载请注明原文地址:http://anycun.com/QandA/1744935122a89705.html