6.1 SP2 Caching realm not caching group members

Hello:
We have caching realm set over LDAP security realm.
We see caching realm never caching group members.
Any help is appreciated.
Thanks
Gennadiy
Here is the sequence we see:
1) Search for user name - OK
2) Search for group name - OK
3) - ALWAYS going to LDAP to get group members even though they should be cached
at this point.
The question is - why does it go to LDAP at all?
I am doing the same call a 1-2 seconds apart. The group members should be cached.
It looks like caching realm does not actually cache the members within a group.
The realm is configured to cache group membership:
Enable Group Cache true
Group Cache Size: 211
Group Cache TTLPositive: 600
Group Cache TTLNegative: 600
Group Membership Cache TTL: 300
<Jul 17, 2002 8:53:49 AM EDT> <Debug> <CachingRealm> <getUser("AppLayerRunAs")>
<Jul 17, 2002 8:53:49 AM EDT> <Debug> <CachingRealm> <user: pos HIT AppLayerRunAs>
<Jul 17, 2002 8:53:49 AM EDT> <Debug> <CachingRealm> <getAcl("weblogic.jndi.CCSAcctEntityBean",
'.')>
<Jul 17, 2002 8:53:49 AM EDT> <Debug> <CachingRealm> <getAcl("weblogic.jndi.CCSAcctEntityBean")>
<Jul 17, 2002 8:53:49 AM EDT> <Debug> <CachingRealm> <acl: neg HIT weblogic.jndi.CCSAcctEntityBean>
<Jul 17, 2002 8:53:49 AM EDT> <Debug> <CachingRealm> <getAcl("weblogic.jndi")>
<Jul 17, 2002 8:53:49 AM EDT> <Debug> <CachingRealm> <acl: neg HIT weblogic.jndi>
<Jul 17, 2002 8:53:49 AM EDT> <Debug> <CachingRealm> <getAcl("weblogic")>
<Jul 17, 2002 8:53:49 AM EDT> <Debug> <CachingRealm> <acl: neg HIT weblogic>
<Jul 17, 2002 8:53:49 AM EDT> <Debug> <CachingRealm> <getUser("AppLayerRunAs")>
<Jul 17, 2002 8:53:49 AM EDT> <Debug> <CachingRealm> <user: pos HIT AppLayerRunAs>
<Jul 17, 2002 8:53:49 AM EDT> <Debug> <CachingRealm> <getUser("AcctEntityUsers")>
<Jul 17, 2002 8:53:49 AM EDT> <Debug> <CachingRealm> <user: neg HIT AcctEntityUsers>
<Jul 17, 2002 8:53:49 AM EDT> <Debug> <CachingRealm> <getGroup("AcctEntityUsers")>
<Jul 17, 2002 8:53:49 AM EDT> <Debug> <CachingRealm> <group: pos HIT AcctEntityUsers>
<Jul 17, 2002 8:53:49 AM EDT> <Debug> <LDAPRealm> <search("ou=ldap, ou=dev_serv,
ou=hick, o=ccs", "(&(member=cn=AppLayerRunAs,ou=LDAP
ICK,o=CCS)(objectclass=groupofuniquenames))", base DN & below)>
<Jul 17, 2002 8:53:49 AM EDT> <Debug> <CachingRealm> <getUser("AppLayerRunAs")>
<Jul 17, 2002 8:53:49 AM EDT> <Debug> <CachingRealm> <user: pos HIT AppLayerRunAs>

This has been fixed in SP3.
-utpal

Similar Messages

  • Server 2.2: Caching server not caching content

    I configured and turned on the new Caching server, then on the same computer went into Mac App Srore and purchased an app.  I then checked the cache data directory and it is still empty.  Shouldn't it be caching purchases as well as updates? According to the Server app help file, it should.  It also says that no client configuration is needed.
    I checked the debug log at /Library/Server/Caching/Logs/Debug.log, and it contains these entries:
    2012/12/08 11:57:28:531  Request for configuration from http://suconfig.apple.com/resource/registration/v1/config.plist succeeded
    2012/12/08 11:57:28:715  computerModelRules missing from configuration http://suconfig.apple.com/resource/registration/v1/config.plist
    Is this normal?  Would it prevent caching?

    Well, all the permissions look right.
    I have deleted all the directries under Caching and it recreates them with the right permissions.
    I've moved the logging level to verbose and run it again and that seems to make no difference.
    I have two files in the directory Logs
    macpro:Logs XXXXXX$ ls -l
    total 16
    -rw-r--r--  1 _assetcache  _assetcache  1235 17 Dec 20:56 Debug.log
    -rw-r--r--  1 root         _assetcache   929 17 Dec 20:56 LastState.plist
    macpro:Logs XXXXXXX$
    Debug.Log looks like
    and LastState.plist looks like
    If I show the directory /Library/Server/Caching I get
    macpro:Caching XXXXXX$ sudo ls -lR
    Password:
    total 0
    drwxrwxr-x  3 _assetcache  _assetcache  102 17 Dec 20:56 Config
    drwxr-x---  3 _assetcache  _assetcache  102 17 Dec 20:56 Data
    drwxr-xr-x  4 _assetcache  _assetcache  136 17 Dec 20:56 Logs
    ./Config:
    total 24
    -rw-r--r--  1 _assetcache  _assetcache  10015 17 Dec 20:56 Config.plist
    ./Data:
    total 40
    -rw-r-----  1 _assetcache  _assetcache  20480 17 Dec 20:56 AssetInfo.db
    ./Logs:
    total 16
    -rw-r--r--  1 _assetcache  _assetcache  1235 17 Dec 20:56 Debug.log
    -rw-r--r--  1 root         _assetcache   929 17 Dec 20:56 LastState.plist
    plutil -p looks OK (well to me it does)
    macpro:Config rwillett$ plutil -p Config.plist
      "ReservedVolumeSpace" => 25000000000
      "LastConfigURL" => "http://suconfig.apple.com/resource/registration/v1/config.plist"
      "SingleMachineMode" => 0
      "Port" => 0
      "SavedCacheSize" => 0
      "LastPort" => 53484
      "Version" => 1
      "CacheLimit" => 0
      "DataPath" => "/Library/Server/Caching/Data"
      "LastConfigData" => <LOTS AND LOTS OF RANDOM DATA REMOVED AS I HAVE NO IDEA WHAT IT IS >
      "ServerGUID" => "882E672A-0172-4A21-84E0-0C1FC08DBC53"
      "ServerRoot" => "/Library/Server"
    After all this good stuff, I still have the same error of
    2012/12/17 20:56:19:750  Caching server started
    2012/12/17 20:56:19:768  Server GUID is 882E672A-0172-4A21-84E0-0C1FC08DBC53
    2012/12/17 20:56:19:787  Cache manager initialized, cache limit = unlimited, current cache size = 0 bytes
    2012/12/17 20:56:19:787  xpcListener should be running
    2012/12/17 20:56:19:788  HTTPServer: Started HTTP server on port 53484
    2012/12/17 20:56:19:797  Retrieving configuration
    2012/12/17 20:56:19:950  Request for configuration from http://suconfig.apple.com/resource/registration/v1/config.plist succeeded
    2012/12/17 20:56:20:027  computerModelRules missing from configuration http://suconfig.apple.com/resource/registration/v1/config.plist
    2012/12/17 20:56:20:112  Cleaning cache
    2012/12/17 20:56:20:185  Cleanup succeeded.
    2012/12/17 20:56:20:185  Registering for notifications
    2012/12/17 20:56:20:188  Registering for service
    2012/12/17 20:56:21:432  Request for registration from https://lcdn-registration.apple.com/lcdn/register failed: HTTP response 400, body "INVALID_DEVICE"
    2012/12/17 20:56:21:436  Registration rejected.
    2012/12/17 20:56:21:440  Flushing cache.
    2012/12/17 20:56:21:440  Server is suspended.  Will re-register in 3600 seconds.
    2012/12/17 20:56:25:055  Server shutting down (15)
    I'm surprised I'm the only person having this. It looks as if the system makes a connection to Apple, downloads some stuff and then rejects my registration.
    I'm very puzzled.

  • Receive texts from some group members, not all group members

    Hello!
    I have an iPhone 5S and recently purchased an iMac. iMac is on OSX Yosemite and iPhone is on iOS 8.1.2
    Recently I have been involved in a few group SMS text chains and I am receiving texts from some of the group members but not all of them. I can receive texts individually from everyone in the group.
    I was recently playing around with iMessage on my new iMac and feel like I may have done something in the setup that caused this issue.
    Anyone know what's going on? I reset network settings on my phone and closed out iMessage on my computer (I also signed out of iMessage completely)

    If iMessage is turned off on both devices and you are still unable to receive their texts, it is a carrier issue, the carrier will need to resolve it.
    If iMessage is turned on on both devices and you are unable to receive their texts, it's an iMessage setup issue.

  • How can I not reveal group members' email addresses when sending a group message?

    I want to send a group message without revealing, as a courtesy, the email addresses of everyone in my group to all members of the group. How can I mask the other recipients? --Gary

    Use BCC instead of TO. That is what that feature is for.
    Blind Carbon Copy

  • CustomRealm without listing Group Members

    Hi,
    we are considering to implement a custom security realm. We have a fixed number
    of groups to be used in ACLs. Users are stored in an LDAP server.
    Group membership depends on some information on the individual user which needs
    to be gathered from a separate backend system. Therefore, it is not feasible to
    implement the getMembers() method on the Group class since that means iterating
    over all "user records" in the backend system.
    Here my question:
    1. Is the getMembers() method needed for Authorization and/or Authentication or
    can we simply make it return an empty list? (We do not mind if we do not see group
    members in the administration console.)
    2. Is it a good idea at all to have this kind of group definition?
    3. What about the method "getUsers" for the ListableRealm? Is this one needed
    for Authorization/Authentification. This method poses a similar problem.
    Regards,
    Andreas

    1. Is the getMembers() method needed for Authorization and/orAuthentication or
    can we simply make it return an empty list? (We do not mind if we do notsee group
    members in the administration console.)I think this method is not needed at all for authentication and
    authorization, it's only used to list the users in the WL admin page.
    3. What about the method "getUsers" for the ListableRealm? Is this oneneeded
    for Authorization/Authentification. This method poses a similar problem.Same answer.

  • Creating users in Caching Realm and not FileRealm

    Hey,I was wondering if there was anyway a user ( whose username password) i retrieve from a database can be created only in the caching realm and the createUser not propogate to the fileRealm..caz when the server is stopped, i want all the cached user entries to be deleted..and if the createUser propogates to the fileRealm, they will become persistent..Thanx for help in advance,Tapan

    Step 1) (As Andreas explained): create an extra realm; navigate to the your.servername/oiddas page. Select the third tab "Directory". Notice an extra picture appears in the upper right corner, called "Realms". Click that, and create the realm.
    Step 2) Reconfigure your SSO server to allow for the extra realm
    Step 3) Configure Application Server Hosting
    Step 4) Add the subscriber
    Step 5) Add user(s) - note the extra option "Realm" in the basic data part
    It's a lot more complicated than rpelies on this forum allows; the documentation describes it quite well - note that the enblhstg.csh misses the "-mode sso" switch (at least for 10.1.2 on HP-UX)
    Bottom line: create users is simply the Create button on the users page - you shoud have the option to select the default realm there, not on the realm pages

  • Question on WLS6.1 SP1 Caching Realm

    Hi,
    I am trying to use caching realm with defaultRDBMSRealmForCloudscape on
    WLS6.1 SP1(Windows 2000). I can create user/password and login. The problem
    is if I shutdown/restart the server, the previously created user account is
    gone. Why is the user info not written into the cloudscape database?
    Thanks,
    Xindong

    Hi Xindong,
    Maybe you could try altering the example realm code to see what's actually
    happening.
    /samples/examples/security/rdbmsrealm/RDBMSRealm.java
    in newUser you can see that delegate.newUser is called with (username,
    credential) -- you could put a println in here to see if this is being called
    for certain...
    then in RDBMSDelegate.java find
    public User newUser(name, password)
    and print something out here too. This will help you to get more info to debug
    the problem.
    You can see that in RDBMSDelegate.newUser what is actually happening is
    insert into users values (?, ?)
    where ? ? are the two values passed in from RBDMSRealm
    Try checking to make sure the correct values are being passed around and that
    this call is really being executed on your database.
    Cheers,
    Joe Jerry
    Xindong wrote:
    Hi Jerry,
    1. When I create user/password from the console, obviously the change is not
    written to CloudScape database even though I clicked on the link"The Change
    you have made must be saved to the realm implementation".
    2. I can't access CloudScape database while WLS server is running. If I stop
    WLS server and then do:
    select * from users;
    It does not show the user/password I just created.
    3. I do see the username that I just entered through the WebLogic server's
    console. But if I restart WLS server, the user I created previously is gone.
    Thanks,
    Xindong
    "Jerry" <[email protected]> wrote in message
    news:[email protected]...
    Hi Xindong,
    Are you certain that when you create user/password from the console thatthe
    changes are going to the Cloudscape database?
    While WebLogic is still running, can you do
    select * from users;
    on your cloudscape database? Do you see the username that you justentered
    through the WebLogic server's console?
    Xindong wrote:
    Hi,
    I am trying to use caching realm with defaultRDBMSRealmForCloudscape on
    WLS6.1 SP1(Windows 2000). I can create user/password and login. The
    problem
    is if I shutdown/restart the server, the previously created user accountis
    gone. Why is the user info not written into the cloudscape database?
    Thanks,
    Xindong

  • Caching Realm: enable only for positive answer

    Hi,
    can anyone give me an idea if it is possible to enable the caching realm
    only for positive answers and not for negative?
    Just setting the ttl for negative does not seem to work:
    weblogic.security.realm.cache.user.ttl.negative=0
    However, if this is not possible it would be also helpful if I could
    somehow trigger the cache to be invalidated. Is this possible?
    Thanx in advance,
    Sven

    Hi
    I am working as a system administrator. Now i am facing a challenge
    in my company. Whoever connects to our windows VPN they are able to copy
    the data over the network. It causes data leakage in my company. My
    requirement is whoever connects to our windows
    VPN they should be able to use RDP. None of the other services should
    not work. Is there any workaround for this. We do not have access to any
    corporate firewalls. I am expecting a workaround in windows OS itself.
    This topic first appeared in the Spiceworks Community

  • Branchcache not caching files

    Hi all
    Hoping for some help with this.
    I have a Windows Server 2012 Essential server set up. Branchcache has been turned on. Clients appear to be configured correctly, however they never cache data. I have tried using shares in the format of
    \\servername\share as well as \\servername.domain.local\share
    I have made sure that the share has been enabled for Branch Cache as well
    I have turned Branch cache on in the server essentials dashboard as well.
    Any Ideas ?
    Here is the output for the get-bcstatus command:
    BranchCacheIsEnabled        : True
    BranchCacheServiceStatus    : Running
    BranchCacheServiceStartType : Automatic
    ClientConfiguration:
        CurrentClientMode           : DistributedCache
        HostedCacheServerList       :
        HostedCacheDiscoveryEnabled : True
    ContentServerConfiguration:
        ContentServerIsEnabled : True
    HostedCacheServerConfiguration:
        HostedCacheServerIsEnabled        : False
        ClientAuthenticationMode          : Domain
        HostedCacheScpRegistrationEnabled : False
    NetworkConfiguration:
        ContentRetrievalUrlReservationEnabled : True
        HostedCacheHttpUrlReservationEnabled  : True
        HostedCacheHttpsUrlReservationEnabled : True
        ContentRetrievalFirewallRulesEnabled  : True
        PeerDiscoveryFirewallRulesEnabled     : True
        HostedCacheServerFirewallRulesEnabled : False
        HostedCacheClientFirewallRulesEnabled : True
    HashCache:
        CacheFileDirectoryPath               : Default
        MaxCacheSizeAsPercentageOfDiskVolume : 1
        MaxCacheSizeAsNumberOfBytes          : 1179920588
        CurrentSizeOnDiskAsNumberOfBytes     : 0
        CurrentActiveCacheSize               : 0
    DataCache:
        CacheFileDirectoryPath               : Default
        MaxCacheSizeAsPercentageOfDiskVolume : 5
        MaxCacheSizeAsNumberOfBytes          : 5899602940
        CurrentSizeOnDiskAsNumberOfBytes     : 0
        CurrentActiveCacheSize               : 0
        DataCacheExtensions:
    and for the netsh branchcache show status ALL.
    BranchCache Service Status:
    Service Mode                 = Distributed Caching (Set By Group Policy)
    Serve peers on battery power = Disabled
    Current Status               = Running
    Service Start Type           = Automatic
    This machine is not configured as a hosted cache client.
    Local Cache Status:
    Maximum Cache Size        = 5% of hard disk
    Active Current Cache Size = 0 Bytes
    Local Cache Location      = Default
    Publication Cache Status:
    Maximum Cache Size         = 1% of hard disk
    Active Current Cache Size  = 0 Bytes
    Publication Cache Location = Default
    Networking Status:
    Content Retrieval URL Reservation          = Configured     (Required)
    Hosted Cache URL Reservation               = Configured     (Not Required)
    Hosted Cache HTTP URL Reservation          = Configured     (Not Required)
    SSL Certificate Bound To Hosted Cache Port = Not Configured (Not Required)
    Content Retrieval Firewall Rules           = Enabled        (Required)
    Peer Discovery Firewall Rules              = Enabled        (Required)
    Hosted Cache Server Firewall Rules         = Disabled       (Not Required)
    Hosted Cache Client Firewall Rules         = Enabled        (Not Required)
    Thanks

    Hi,
    As there is no much information about this issue. I'd like to start from the configurations. First I would like to know the structure.
    We should have the following devices:
    1. Content server - which should be in the main office.
    2. Client computers - should be Windows 7 (or 8) Enterprise/Ultimate version in branch office.
    For content server, please refer to this article for the settings about "Hash Publication for BranchCache" as well as how to enable BranchCache. 
    http://social.technet.microsoft.com/wiki/contents/articles/2342.branchcache-settings-for-windows-server-2008-r2-windows-7-enterprise-and-windows-7-ultimate.aspx#z1
    From your description, it is using "Distributed Caching", which means clients will cache the data on their own computer.
    So after configuration, use a computer (such as a Windows 7 system) to access your content server for a shared folder in order to create a cache.
    Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Jar file is not cached

    Hi,
    I have a problem in caching the jar file. When the browser was closed and then open again, it tries to load the jar file from the web server again. It seems the jar file is never cached in the Java-Plug in. Here is the code for the page:
    <OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
    width=80% height=70% hspace="10" vspace="10" align="middle"
    codebase="http://java.sun.com/products/plugin/autodl/jinstall-1_4_2-windows-i586.cab"
    standby="Please wait...">
    <PARAM name="type" value="application/x-java-applet">
    <PARAM name="codebase" value="/">
    <PARAM name="cache_archive" value="w1.jar">
    <PARAM name="cache_option" value="Plugin">
    <PARAM name="code" value="Proteus.class">Web Motion Control Applet</OBJECT>
    Any idea?
    Thanks for the help!

    Have the same nasty issue here - beginning with 1.4.2 we see that the java plug-in add
    Cache-Control: no-cache
    Pragma: no-cache
    to the HTTP request when downloading the JAR file (also happen when JAR is already in local plug-in cache). Therefore the web server always sends a HTTP 200 with full content instead of a lightweight HTTP 304 Not Modified.
    See also: Bug: 4837340 comment from mwwsun
    Is there a way to disable the explicit "no-cache" request?
    Keep the byte.
    C�dric

  • Applet cache is not working on Mountain Lion(Mac 10.8)

    Applet cache is not working on Mountain Lion(Mac 10.8)
    OS Details:  Mac 10.8
    Applet cache is not working on Safari 6 and Firefox 15.0.1 with java 7(provided by oracle) on Mac 10.8(mountain Lion) and even applets are not working  on chrome because its not supporting java 7(64 bit).
    In order to run applets on Firefox and Safari we need to install Java SE6 which provided by Apple otherwise “PlugInProcess” does not work and it show the below warning message.
    For your information I given screen shots below
    ) Safari screen shot with Java Plug-in
         2.) Firefox screen shot with Java Plug-in
         3) Chrome screen shot( it does not have java plugin)
    4) Java cache viewer console
    5) Applet Java console and it is using Java 7
    Kindly review above mentioned problem and suggest us.

    Problem solved.
    I switched to a Western Digital powered Hard Drive from the Toshiba Canvio I was using.
    I suspect the USB 3.0 did not mount correctly after the first save.
    Fortnuately the Canvio does work on my Windows 7 machine.
    Thanks for yur suggestions

  • Cache update not yet started In PI 7.1

    Hi
    Iu2019m using PI 7.1, facing the issue with Cache Update
    Under Integration Builder -> Environment -> Cache Notifications
    Central Adapter Engine, Mapping Runtime Cache (Central Adapter Engine) both are in gray color status  (Cache update not yet started) .
    Cache Connectivity Test in RWB
    RWB -->Component Monitoring --> Cache Connectivity Test
    For both Central Adapter Engine, Mapping Runtime Cache on Central Adapter Engine
    Showing the warning
          "--Attempt to fetch cache data from Integration Directory not yet started or still in process"_  
    Please help me out to update the Cache successfully
    Thanks
    Vadde

    Hi Sekher
    Thank you very much for your time,
    1  RFC- INTEGRATION_DIRECTORY_HMI is working fine.
    2. I du2019t find the com.sap.aii.af.cpa.svc  service in NWA  ,
    3  Under Config Tool
        template - Usage_Type_All_in_One - Services - com.sap.aii.af.cpa.svc
       "CacheType" has  the value "DIRECTORYu201D only
    Thanks
    Vadde

  • Adapter engine cache is not display in sxi_cache PI7.1

    Hi All expert  ,
    I am doing post installation step for Pi7.1 . during initial setup configuration . I have got error message . u201CProtocol of Step 'Executing BAPI SXMB_SET_ROLE_TO_ISu201D .  I have try to resolve this error but I am not able to do so  skip this step and completed resume setup .
    after that I have check in SXI_CACHE, here I found that adapter engine cache is not display.  please help me to resolve this issue.
    Regards,
    Amit

    Hi
    Answer is pure assumption
    I checked the service.sap.com and found a OSS note related "BAPI SXMB_SET_ROLE_TO_IS"
    Pls check the OSS note - Note 1319873 - PI CTC: Error in "Executing BAPI SXMB_SET_ROLE_TO_IS"
    Pls take opinion from SAP / Basis before implementing the OSS note
    Regards
    Madhan D

  • How to tell if loaded file came from cache or not?

    Trying to work out how I can tell if a downloaded file came from the cache or was freshly downloaded over the net. I need this because users will download multiple files and I am trying to give make an accurate downloader for them. I have made them download a sample file which I have made not to cache by doing the following:
    private var _loader:URLLoader;
    private var _rootPath:String; = "http:/example.com/speedTest/f4v/";
    private var _startDownloadTime:int;
    private var _targetSpeed:Number //set elsewhere
    private function loadTestSpeedFile():void
                var fileRequest:URLRequest = new URLRequest();
                fileRequest.url = _fullFilePath + "speedTest.f4v";
                var variables:URLVariables = new URLVariables(); 
                variables.nocache = new Date().getTime();
                fileRequest.data = variables;
                _startDownloadTime = flash.utils.getTimer();
                _loader.load(fileRequest);
    private function speedTestHandler(e:Event):void
                var endDownloadTime:int = flash.utils.getTimer();
                var timeElapsed:Number =   endDownloadTime - _startDownloadTime;
                timeElapsed = timeElapsed/1000;
                var bytesPerSec:Number = (SIZE_OF_TEST_FILE/timeElapsed);
                var currentSpeedFactor:Number = bytesPerSec/_targetSpeed;
                trace("Speed Test file downloaded in " + timeElapsed + " secs at " + bytesPerSec + " bytes a sec : speedFactor " + currentSpeedFactor);
                   //remove this handler and download as normal from a list of files
                _loader.removeEventListener(Event.COMPLETE, speedTestHandler);
                _loader.addEventListener(Event.COMPLETE, completeHandler);
              //download the rest of the files
                download();
    I could work out if the other files are downloading much more quickly (say 20X quicker) than the speedTest rate worked out here and then discount it from calculating the download speed and estimated time remaining.
    However, it would be much better if there was a way to access properties on the URLoader on the Event.COMPLETE handler to see if the file 'downloaded' was taken from the cache or not. Anyone know of way of doing it more elegantly than the hack described in the last sentence?

    Kglad,
    Thanks for the interest and reply. Yes, you are right the file load preventing the file being cached is stictly a different matter from that which is bugging me.  I am, however,  using the Progress Event (as in flash.events.ProgressEvent ) in the following event handler listening to it:
    private function progressHandler(e:ProgressEvent):void
                var percent:Number = (e.bytesLoaded/e.bytesTotal)*100;
                  //other code to resize the gui loader ie scaling it to the percentage.
    Again this just tells me how much has been loaded each time the event is fired. On the Event.COMPLETE handler I am getting the load timings pretty much as per the
    speedTestHandler(e:Event) I posted. The only difference there is that it loads from an array of filenames (most but not all of which can change on later replays - hence some will be cached and some not) What i need to know is where the file is loaded from - either from the server or the local systems cache. The only way round this is to discard very quick downloads (which must be from the cache) from true calculating download speeds but that is a bit hit and miss. I am asking for a better solution. Hope that makes sense...

  • Why would Safari 6 not cache certain cacheable resources?

    In our web application, which uses GWT, we have many Javascript resources. In the case of the GWT module's Javascript, the resource is 790kB (226kB gzipped). All the other Javascript and stylesheet resources are cached, but Safari 6 doesn't cache this one for some reason. Some points that may be important:
    - Our server sends this javascript gzipped, and the response does include the header
    Cache-Control: public,max-age=31536000
    and I can see this response header, along with a confirmation that this resource is not cached, using the Safari developer extensions.
    - The URL has a .html extension, as is the pattern with GWT applications (it has to do with bootstrapping the module). I don't know if this is relevant, but it is the only difference I could identify between this resource versus others that are cached.
    - This is happening with Safari 6 on Mac OS 10.8.*. Chrome and Firefox on Mac, as well as the IE versions on Windows that we've tested do cache this javascript resource.
    - In my particular Safari environment, there are no extensions installed or enabled, and caching is definitely not disabled (and as I mentioned, all the other static resources that have the same Cache-Control header are cached as expected).
    Has anyone else experienced an issue like this with a GWT web application or otherwise? Is the .html extension the the cause of issue? If so, why would Safari care about the content type of the resource when it comes to whether or not to cache it, as long as the appropriate HTTP response headers are set? And why would it behave differently from other browsers?
    I spent some time searching for a similar question or discussion but I could not find anything here or anywhere else.

    Same problems here on that site with Safari 6.0.5
    The have a Facebook page you can post and ask for help >  https://www.facebook.com/DocFuAndHealthTeam

Maybe you are looking for