Forcing caching according to browser

  • Profile Image
    Osune
    Asked on August 27, 2013 at 11:52 AM

    Hi,

    I am having an issue that has been brought up by other members on this forum before. The form does not cache in certain browsers and this is because I have deployed the site on Wix. I think that this is a Wix problem but I wanted to check if you had any advice on how to fix this. I found a redirect.php suggested to another person and that worked very well for me. Thank you very much for that.

    However, a follow up question I have is that this issue only seems to be happening in Chrome but works correctly in other browsers. So is there a way that the php code can contain logic that uses the cached copy if the browser is not Chrome, and does a full refresh if the browser is = Chrome?

     Any help that you can provide on this matter will be greatly appreciated.

     

    Link to a previous discussion on same topic: http://www.jotform.com/answers/214233-My-form-goes-blank-after-submissions-on-my-Wix-Website?entrymessage=10732640770

  • Profile Image
    Welvin
    Answered on August 27, 2013 at 04:08 PM

    Hi Osune,

    Good day! There should be another method to do this using Javascript. I will try to come up for the solution and get back to your later today.

    Thanks

  • Profile Image
    EltonCris
    Answered on September 07, 2013 at 01:32 AM

    @Osune

    Try if this helps: http://pastiebin.com/522ab9b0781b1. Just do the same steps as before, save this as php file and set this as your Custom Thank you URL.

    I haven't tested this yet but I think this should work, so feel free to post here your updates. Thanks!