Add imageQueryString option to WebKitCSSResourceCache#getTextureURL #60

Closed
wants to merge 1 commit into
from

Projects

None yet

2 participants

@deardaniel

I added this to fix a problem with a UIWebView's caching.

I couldn't find any way of forcing the browser to clear its cache (NSURLCache couldn't help) so I added a query string to each texture asset: the app takes a timestamp on start-up and uses it as a query string for its assets. This allows all assets to be "cleared" from cache when the UIWebView is reloaded.

If you feel like it's worth merging, please feel free to add it.

@splhack
Contributor
splhack commented Mar 5, 2014

Thank you! 77adca1

@splhack splhack closed this Mar 5, 2014
@KojiNakamaru KojiNakamaru added a commit to gree/lwfs that referenced this pull request Mar 12, 2014
@KojiNakamaru KojiNakamaru merged latest lwf.js.
* fixed BitmapClip width and height in scaled Texture/TextureAtlas
* WebGL context alpha=false
* gree/lwf#60
* setFont
* fixed REPEAT_S/T textures in WebGL
* fixed mask in WebGL
* performance tuning
5577a54
@KojiNakamaru KojiNakamaru added a commit to gree/lwfs that referenced this pull request Mar 28, 2014
@KojiNakamaru KojiNakamaru merged latest lwf.js.
* fixed BitmapClip width and height in scaled Texture/TextureAtlas
* WebGL context alpha=false
* gree/lwf#60
* setFont
* fixed REPEAT_S/T textures in WebGL
* fixed mask in WebGL
* performance tuning
3739902
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment