[wp-hackers] Avoiding option cacheing for a specific option

Nikola Nikolov nikolov.tmw at gmail.com
Sat Sep 20 10:15:43 UTC 2014


Sorry for not being directly on topic, but why would something be
better-off not being cached? As long as you're using update_option() the
cache will be cleared when neceesary.

On Sat, Sep 20, 2014 at 10:54 AM, David Anderson <david at wordshell.net>
wrote:

> Hi,
>
> Where in WP core is the architecturally correct place to make sure that a
> specific option is never cached?
>
> I'm not asking about how to do this via a plugin - I'm working on a patch
> to do with an issue caused by cacheing an option that would just be better
> never cached.
>
> Best wishes,
> David
>
> --
> UpdraftPlus - best WordPress backups - http://updraftplus.com
> WordShell - WordPress fast from the CLI - http://wordshell.net
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list