• Resolved Hkroed

    (@sprithansi)


    Hi!
    After I uploaded a new version og the .xml-file, the recipe wont refresh.
    I use the following shortcode
    [beerxml recipe=myurl.xml metric=true download=false style=true mash=true fermentation=true mhop=true misc=true actuals=false cache=-1]

    And have set cache duration to 0

    I have to change the filename to get the recipe updated

    • This topic was modified 7 years, 3 months ago by Hkroed.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Derek Springer

    (@derekspringer)

    Generally if the cache is set to cache=-1 and it’s still not updating there’s some combo of caching outside of the plugin that’s causing it. You can either try to flush your other caches or just rename the file.

    Thread Starter Hkroed

    (@sprithansi)

    I dont have any other cache plugins.
    But what about the “Cache duration” in the plugin’s option?

    Plugin Author Derek Springer

    (@derekspringer)

    Setting the cache option within the shortcode should override the plugin option. I think your best bet is to simply rename the file if the caching is giving you trouble.

    As it’s often quoted:

    There are only two hard things in Computer Science: cache invalidation and naming things

    Thread Starter Hkroed

    (@sprithansi)

    Haha. OK, thanks 😀

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can’t refresh recipe’ is closed to new replies.