v57.04 - "disable cache" is on by default
It seems that 'disable cache' (Inspector/Network) is checked by default, meaning a game we're developing won't load it's images correctly.
When we open the Inspectpr/Network panel and uncheck it, the game then loads all its images fine
Is there a way around this??
Wszystkie odpowiedzi (5)
That setting in the developer tools should only be active when the toolbox is open and not when it is closed. That is controlled via this pref (about:config): devtools.cache.disabled
Start Firefox in Safe Mode to check if one of the extensions ("3-bar" menu button or Tools -> Add-ons -> Extensions) or if hardware acceleration is causing the problem.
- switch to the DEFAULT theme: "3-bar" menu button or Tools -> Add-ons -> Appearance
- do NOT click the "Refresh Firefox" button on the Safe Mode start window
Thanks but that doesn't seem to have helped.
To better explain..
- I load the game - Most of the mages fail to display - In the We Developer console I get errors "image corrupt or truncated" - In the 'Network' panel, if I uncheck the 'disable cache' option and reload the page (with the console open still) it loads fine. - If I clear cache, quit FF and restart, the game fails to load properly again.
UPDATE>>>>
We've recompressed all our atlases to 8-bit using TinyPNG and now the game loads fine - so it seems to be an issue with the images - wither they'r too big in filesize (?) or FF doesn't like 32bit PNGs?
We have tried a mixture of 8-bit and 32-bit PNGs and the 8-bit ones load fine, the 32bit ones do not
So can it really be that Firefox doesn't like 32-bit PNGs?
Can you load these 32-bit images directly in a tab since you indicate that disabling the cache works?
How are these image send by the server? Are they send compressed (gzip)?
It's a regular PNG, not compressed - it loads fine if you type in it's direct URL