• Resolved cmorin

    (@cmorin)


    When I update the date on a download version, the new date is reflected in the admin interface but not on our website. Flushing the cache (Varnish) does not resolve the issue. I’ve found if I clear the object cache with wp_cache_flush(), it fixes the problem and so I added it to the bottom of class-dlm-admin-writepanels.php -> save_meta_boxes, just after the close of the for loop that iterates over the files. I’m not sure if this is the best way or place to fix this issue.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello @cmorin,

    Are you using server side caching? Also, adding code to our plugin is not recommended as you will lose any changes once we release an update.

    Thread Starter cmorin

    (@cmorin)

    Hi Harish,

    We are not using server side caching except for a Varnish cache available for HTTP traffic, but we see this issue with and without that. I think the issue has to do with built-in WordPress object caching. I’d rather not rely on my own code changes and so I’d appreciate it if you could look into the issue and see if it is something that can be fixed upstream.

    Best,
    -Craig

    Hey Craig,

    Please note that there is not much we can do from our end. It would be difficult for our plugin to detect all possible caching and clear them. I would suggest checking with your host and if there are any plugins for caching, then manually clearing caching might be the only possible way.

    Thread Starter cmorin

    (@cmorin)

    Hi Harish,

    I don’t think it has to do with any caching plugin on my server but rather core functionality within WordPress. Have you tried to replicate the issue in your own instances?

    To replicate, add a download/version and save. Load the public site and verify that the download is listed properly (using a form that displays the file date). Then, edit the version and change the file date and save. Reload the public site, does the download reflect the new file date?

    Thanks,
    -Craig

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘File Date Not Updating’ is closed to new replies.