Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Learn More

v57.04 - "disable cache" is on by default

  • 5 odpowiedzi
  • 1 osoba ma ten problem
  • 24 wyświetlenia
  • Ostatnia odpowiedź od eugenermz

more options

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??

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)

more options

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
more options

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?

more options

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?

more options

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)?

more options

It's a regular PNG, not compressed - it loads fine if you type in it's direct URL