Shortcode not executing each time, previews don't always work (2 posts)

  1. gk_jam
    Posted 4 years ago #

    Hi, I'm having an issue with this plugin. On my site, when the user first views the page with the shortcode, the file preview loads correctly. However, if the user clicks away and then clicks back to the page, the cached version of the page is served (i.e. the shortcode doesn't get invoked anew). In this cached version, the preview doesn't load correctly, I suspect because it's not getting a new session token and simply using the old one. If the user manually refreshes the page, then the file preview loads correctly.

    How can I fix this issue so that the shortcode is invoked each time the user views the page and so they get a unique session token each time? I'm not using any caching plugins, this is client-side caching in the user's browser.


  2. MikesNameIsMike
    Plugin Author

    Posted 3 years ago #

    do you know if this only happens on specific browser/s?

    I saw something similar happen with firefox, but was not able to find a cause/solution. Although I didn't spend too much time on it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Crocodoc
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.