I mentioned this on #necko the other day.

We've had a "re-fetching" problem in devtools for a while now.

The basic issue is that the platform drops the original text of some
things, like style sheets.  (Instead just the parsed form is preserved.)

So, in order to make some tools work with the source text, devtools
re-fetches the sources.  However, this is sub-optimal -- maybe the
sources have changed on the server, leading to confusing results.

We were wondering if there was some way we could solve this problem.

One idea we had is to always cache these things, in a way that would let
the devtools retrieve them.  Is this possible?

Or ... some other idea here.


On irc jduell mentioned:

<jduell> tromey: I think you want to set the LOAD_ONLY_FROM_CACHE loadflag on
         your network request

... which isn't really want we want, I think (but which in context made
perfect sense) -- but maybe a Plan B would be to use that to at least
inform users: "hey, devtools had to re-fetch this, be warned".

Tom
_______________________________________________
dev-tech-network mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-network

Reply via email to