Flex Framework - How to determine if a user is using a cached infrastructure?

I have an open access application deployed using Flex. I want to switch to using a cached structure (.swz), but you need to know if this is an effective solution for my database or not (most users will visit the site only once, but it’s just not worth it).

What I want to do is keep track of whether the user downloaded the .swz / .swf file during this session, or if they are using the cached version that they previously downloaded with me or from another site. If, say, 80% of users download the .swz framework, then I can embed a reduction structure. But if 60% of users already have a structure, I would prefer to use this cached version.

The best solution that I have right now is to look at the web server log and count the loading of the .swz file compared to the number of downloaded files in my main .swf application. This is clumsiness and pain, and I could not even make an effort to do it yet.

I cannot find anything indicating that the .swz or .swf files are loading. I would like to track the current user session if I can determine this.

+5
source share
2 answers

My advice is to use a cached structure regardless of your database. The fact is that you will not be alone in this, and it will only be a matter of time before it pays off (even if it is on a return visit).

+3
source

, , , , , , ( Linux):

grep -c \.swz web_log_dir/* 
grep -c \.swf web_log_dir/*
0

All Articles