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.

Bypass browser cache

Home Forums General Questions Bypass browser cache

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #52591
    johngrigni
    Customer

    I have a client that wants to see changes happening close to instantly when they update a csv file for an app and refresh their browser. The problem is the browser seems to be keeping the csv in some sort of cache, so refreshing the page doesn’t change the csv. Is there a way inside the verge workspace to force reloading the actual csv and not the cached copy?

    #52592
    kdv
    Participant

    Ctrl+F5?

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

    #52593
    kdv
    Participant

    CTRL + F5?

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

    #52594
    johngrigni
    Customer

    So nothing inside the verge workspace?

    #52595
    kdv
    Participant

    only this

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

    #52598

    A possible workaround to prevent caching a file is to add some random text (or just current time and date) to the URL, after the question symbol.

    e.g. before:

    path/to/myfile.csv

    after:

    path/to/myfile.csv?62565347

    This way the file is still loaded as usual, but the browser won’t cache it because the URL changes every time.

    Chief 3D Verger | LinkedIn | Twitter

    #52644
    johngrigni
    Customer

    Thank you Yuri! I knew there was a simple way to do this!

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