Support » Plugin: WP-Appbox » WP-Appbox Cache expiry

  • emilianomaina

    (@emilianomaina)


    Hello,

    for Cache Expiry time, out the recommended value of 720 minutes, are any minimum and maximum values allowed ?

    The question is: what does exactly happen when the cache expire?

    The point is the behaviour related to other caching mechanisms, especially Page Caching of W3TC plugin.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Marcelismus

    (@marcelismus)

    The time indicates when the app data is reloaded from the store when the web page is called up again – otherwise the stored data from the database is used.

    Has nothing to do with page caching, but of course correlates with it. Since WP-Appbox’s code is only executed when the “real” PHP web page is also called, the query can of course take place – namely when a page’s HTML cache is also rebuilt. Seems a bit confused, but they are two different things, hence a logical flow of the processes.

    Min and max values do not exist. However, if the time is too low and the requests to the app store servers become too high, the risk of a (temporary/permanent) bot lockout is possible.According to my tests, 720 minutes is still fine for small to medium sized sites.

    Thread Starter emilianomaina

    (@emilianomaina)

    Has nothing to do with page caching, but of course correlates with it. Since WP-Appbox’s code is only executed when the “real” PHP web page is also called, the query can of course take place – namely when a page’s HTML cache is also rebuilt. Seems a bit confused, but they are two different things, hence a logical flow of the processes.

    Unfortunately WP-Appbox requires page cache flushes, see here:

    https://www.boldgrid.com/support/question/w3tc-page-cache-logs-documentation/#post-42228

    Plugin Author Marcelismus

    (@marcelismus)

    Not “require”. A flush of the post cache can be triggered when an app is manually regenerated. Take a look at the cache-settings for WP-Appbox.

    Thread Starter emilianomaina

    (@emilianomaina)

    In order to reduce impact on page caching now I setup in this way:
    – Cache expiry: 43.200 minutes
    – Mode for auto caching: Update automatically via Cronjob and manually
    – Cronjob settings: Run the cronjob every 1440 minutes and update 5 expired apps at once.

    Plugin Author Marcelismus

    (@marcelismus)

    Next question: Why does the app have an old title and an old icon and why are they not updated 😉

    • This reply was modified 4 months, 4 weeks ago by Marcelismus.
    Thread Starter emilianomaina

    (@emilianomaina)

    Why does the app have an old title and icon and why is it not updated

    What do you mean?

    Plugin Author Marcelismus

    (@marcelismus)

    The app data has a validity of 30 days. Once a day, 5 expired (i.e. 30+ days old) data is updated. You can calculate how long it takes to update, for example, 100 apps in the database. But as I said: There is no right or wrong. It’s just how up-to-date you want the app information displayed in the blogposts to be (also depending on how often min the pagecache is refreshed).

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