[wp-hackers] Avoiding option cacheing for a specific

Eric Andrew Lewis eric.andrew.lewis at gmail.com
Sat Sep 20 15:51:59 UTC 2014


"Should never be cached" sounds like cache invalidation is your real issue.

On Saturday, September 20, 2014, <collizo4sky at gmail.com> wrote:

> ‎Would love to also love to know why the option should never be cached‎.
>
>
>   Original Message
> From: wp-hackers-request at lists.automattic.com <javascript:;>
> Sent: Saturday, 20 September 2014 1:00 PM
> To: wp-hackers at lists.automattic.com <javascript:;>
> Reply To: wp-hackers at lists.automattic.com <javascript:;>
> Subject: wp-hackers Digest, Vol 116, Issue 11
>
> Send wp-hackers mailing list submissions to
> wp-hackers at lists.automattic.com <javascript:;>
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.automattic.com/mailman/listinfo/wp-hackers
> or, via email, send a message with subject or body 'help' to
> wp-hackers-request at lists.automattic.com <javascript:;>
>
> You can reach the person managing the list at
> wp-hackers-owner at lists.automattic.com <javascript:;>
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of wp-hackers digest..."
>
>
> Today's Topics:
>
> 1. Avoiding option cacheing for a specific option (David Anderson)
> 2. Re: Avoiding option cacheing for a specific option
> (Nikola Nikolov)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 20 Sep 2014 08:54:56 +0100
> From: David Anderson <david at wordshell.net <javascript:;>>
> To: wp-hackers at lists.automattic.com <javascript:;>
> Subject: [wp-hackers] Avoiding option cacheing for a specific option
> Message-ID: <541D32D0.20809 at wordshell.net <javascript:;>>
> Content-Type: text/plain; charset=utf-8; format=flowed
>
> 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
>
>
>
> ------------------------------
>
> Message: 2
> Date: Sat, 20 Sep 2014 13:15:43 +0300
> From: Nikola Nikolov <nikolov.tmw at gmail.com <javascript:;>>
> To: wp-hackers at lists.automattic.com <javascript:;>
> Subject: Re: [wp-hackers] Avoiding option cacheing for a specific
> option
> Message-ID:
> <CAOwx47emozhwFhHAGkTKrHwkCw2cJ9OtPNT4sk-3WwCuuASWGg at mail.gmail.com
> <javascript:;>>
> Content-Type: text/plain; charset=UTF-8
>
> 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
> <javascript:;>>
> 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 <javascript:;>
> > http://lists.automattic.com/mailman/listinfo/wp-hackers
> >
>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com <javascript:;>
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
>
> ------------------------------
>
> End of wp-hackers Digest, Vol 116, Issue 11
> *******************************************
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com <javascript:;>
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


-- 
Eric Andrew Lewis
ericandrewlewis.com
610.715.8560


More information about the wp-hackers mailing list