Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Force Browser to use updated pdf file instead of cache version

Force Browser to use updated pdf file instead of cache version

Scheduled Pinned Locked Moved ASP.NET
helpquestionannouncement
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Blikkies
    wrote on last edited by
    #1

    Hey Guys, I have run into a small problem, we have sent a bulk email containing a link to a pdf file, a week after the bulk mail the pdf file had to be updated. My problem now is some of the recipients still viewing the cache version of the pdf, is there a way to force the browser to view the updated pdf file?

    J Z 3 Replies Last reply
    0
    • B Blikkies

      Hey Guys, I have run into a small problem, we have sent a bulk email containing a link to a pdf file, a week after the bulk mail the pdf file had to be updated. My problem now is some of the recipients still viewing the cache version of the pdf, is there a way to force the browser to view the updated pdf file?

      J Offline
      J Offline
      jkirkerx
      wrote on last edited by
      #2

      Probably like an image file, in which you attach a query string with the date after the file name. name.pdf?ts=2017042601

      If it ain't broke don't fix it

      B 1 Reply Last reply
      0
      • J jkirkerx

        Probably like an image file, in which you attach a query string with the date after the file name. name.pdf?ts=2017042601

        If it ain't broke don't fix it

        B Offline
        B Offline
        Blikkies
        wrote on last edited by
        #3

        The problem is that the emails have already been sent so won't be able to add a query string.

        1 Reply Last reply
        0
        • B Blikkies

          Hey Guys, I have run into a small problem, we have sent a bulk email containing a link to a pdf file, a week after the bulk mail the pdf file had to be updated. My problem now is some of the recipients still viewing the cache version of the pdf, is there a way to force the browser to view the updated pdf file?

          Z Offline
          Z Offline
          ZurdoDev
          wrote on last edited by
          #4

          Have the users clear their cache.

          There are two kinds of people in the world: those who can extrapolate from incomplete data. There are only 10 types of people in the world, those who understand binary and those who don't.

          1 Reply Last reply
          0
          • B Blikkies

            Hey Guys, I have run into a small problem, we have sent a bulk email containing a link to a pdf file, a week after the bulk mail the pdf file had to be updated. My problem now is some of the recipients still viewing the cache version of the pdf, is there a way to force the browser to view the updated pdf file?

            J Offline
            J Offline
            jkirkerx
            wrote on last edited by
            #5

            Maybe the web server is caching the pdf

            If it ain't broke don't fix it

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups