We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

How to force cache update when publishing

Home Forums General Questions How to force cache update when publishing

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #8660
    tcdoe
    Customer

    Hi Folks,
    Sorry if this is covered somewhere already (i did search the forum).

    When I ‘publish’ my site, either on the verge network, or on my own hosting, it doesn’t update any changes unless I delete my chrome browser’s cached files.

    I have to do that in chrome, being careful not to automatically delete all my cookies, etc.

    Is there a way so that when I change my site (i.e. when I FTP my new site files to my hosting server folder), I can ‘force’ Chrome (or any browser) to update or ‘pre-delete’ the cached files just for my verge site? I’m guessing there is some simple way. I’m not sure what terminology to use here so hope I’m getting the idea across.

    Any help greatly appreciated.
    T.

    CEO, ABĒMIS LLC
    visit: abemis.com

    #8661

    Hi,

    Yes, this is a common browser cache problem taunting all web developers. There is a trick, however, for clearing the cache only for a currently loaded website.

    In Chrome, open browser console (F12), then click with the mouse on the reload button and hold a bit. In the appeared menu select Empty Cache and Hard Reload.

    Empty Cache and Hard Reload

    Attachments:
    You must be logged in to view attached files.

    Chief 3D Verger | LinkedIn | Twitter

    #8673
    Andrejus
    Participant

    :good:

    #8681
    tcdoe
    Customer

    Ok thanks for that. I’m really surprised there’s no client-side way to do this. It’s kind of a huge problem.

    For now I’m having everybody install this Chrome extension or equivalent.

    “Classic Cache Killer”

    That works but is a terrible solution.
    If anybody else has a better one, jeez please let me know.
    :wacko:

    CEO, ABĒMIS LLC
    visit: abemis.com

    #8682

    We are also practicing having the dev tools open during any development. Once set up, you only need to refresh the page with F5.

    chrome disable cache during development

    Attachments:
    You must be logged in to view attached files.

    Chief 3D Verger | LinkedIn | Twitter

    #8685
    tcdoe
    Customer

    Yes thanks, I’ve done that.

    The real problem though, is on the client side. I want to be able to refresh/reload new updates minute-by-minute and/or every time the client makes a parameter change submission (e.g. hits the ‘submit’ button). This is for displaying client-specific computational updates calculated by us on the server side (in blender and CGAL).

    So killing the cache is a stop-gap option, but obviously terrible.
    Thanks again for the info.
    T.

    CEO, ABĒMIS LLC
    visit: abemis.com

    #8700

    Sorry I misunderstood you in the first place. You need to ensure that the end users obtain the latest update of your Verge3D app. I found a tutorial on how this can be implemented on the client side and on the server side. Perhaps some method listed there could work for you. We’ll also discuss internally if we can do anything in the engine to fight the cache problem.

    Chief 3D Verger | LinkedIn | Twitter

    #8890
    tcdoe
    Customer

    Thanks great. I’ll try this out.

    CEO, ABĒMIS LLC
    visit: abemis.com

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.