Tom Chiverton wrote:
On Wednesday 16 Apr 2008, rickarddahlstrand wrote:
I use HTTPService quite extensively and when I run my flex-app in
Firefox I suffer from slowdown after a couple of hours. I have tracked
this down to Firefox storing all XML-request I do as files in the
\Users\myname\AppData\Local\Temp\plugtmp-*\ directory. Even data
transfered over https.

At a guess, disable all your plugins and/or use a clean profile.
If that works, maybe you have a connection inspecting plugin installed ?
The plugin that causes this is Flash. ;) This behaviour is built into Firefox, I have tracked it down in the source.

My problem seems to be that I need to add a random number at the end of each request to avoid caching:

statusRequest.url="https://server/stat.api.php?text="; + escape(s) + "&getlog=" + getlog + "&" + Math.random();
               statusRequest.send(getlog);

This however seems to mean that I get a new file in the plugtmp-directory for every request (which I do once every second). Running the app for an hour gives me 3600 files that firefox needs to remove when I close the app.

I have tried removing math.random, but then it works two times (with one file in the cache) and then firefox stops sending out requests. I have no idea why. This would solve one problem for me, but not the other.

Anyway, the problem is real. If you google on plugtmp you can see that people are using it to extract videos from youtube and music from pandora. Then go to any rpc-based Flexapp and have a look in the plugtmp-directory yourself.

Rickard.

Reply via email to