Forum Discussion

Deepak_N_171257's avatar
Deepak_N_171257
Icon for Nimbostratus rankNimbostratus
Mar 02, 2016

Is HTML5 application cache support with APM

I don't have much expertise on HTML5 browser cache, but I know that it allows web applications to save data in browser. Now to the problem. Client has a web application that uses HTML5 application cache, and it allows the application to save some information. And if the browser has some cache, it allows user to start the application even without an Internet connection. Of course, user will need to start the application at least once with an Internet connection to save some cache. It works fine, as long as users are accessing the application in Intranet. however, once we try to use F5 APM to rewrite the application and then users access the portal object, they can't access the application offline. Here's how they try it: 1. Users login to public IP: apm.example.com/my.policy 2. They get redirected to their portal app: apm.example.com/f5hashed link/application_name (They bookmark this link) 3. They do their work (read: create some application cache) and close the browser without logging out 4. Users disconnect from internet 5. They open the same browser and open the bookmark (saved in step 2): - In some browsers, system opens the application home page and they can continue their work offline - In some browsers, the system just opens a "can't display webpage" message.

 

now, I am looking for any ideas if F5 APM has support for saving the offline application cache (may be with an irule) or it simply is not supported at all.

 

  • Rewrite (Portal Access) does not yet fully support all features of HTML5. Offline cache manifests are not rewritten correctly at least, and there are some other problems.

     

    The F5 bug ID for this is likely 384018, but there are also some other general HTML5 ones. As Walter mentioned, you should use LTM+APM (Web Access Management) pass-through mode. This way the content is untouched by APM but you still get the security benefits of having an Access Policy.

     

  • Sorry for the unformatted question. I tried to format using the instructions, but it didn't work well for me it seems
  • It sounds like you are doing a portal rewrite on the application. Have you tried using an LTM passthru mode in which the application has a corresponding virtual server and pool selection available instead of using portal rewrite?

     

  • Lucas_Thompson_'s avatar
    Lucas_Thompson_
    Historic F5 Account

    Rewrite (Portal Access) does not yet fully support all features of HTML5. Offline cache manifests are not rewritten correctly at least, and there are some other problems.

     

    The F5 bug ID for this is likely 384018, but there are also some other general HTML5 ones. As Walter mentioned, you should use LTM+APM (Web Access Management) pass-through mode. This way the content is untouched by APM but you still get the security benefits of having an Access Policy.