Discussion:
Avoiding option cacheing for a specific
c***@gmail.com
2014-09-20 14:32:23 UTC
Permalink
‎Would love to also love to know why the option should never be cached‎.


  Original Message  
From: wp-hackers-***@lists.automattic.com
Sent: Saturday, 20 September 2014 1:00 PM
To: wp-***@lists.automattic.com
Reply To: wp-***@lists.automattic.com
Subject: wp-hackers Digest, Vol 116, Issue 11

Send wp-hackers mailing list submissions to
wp-***@lists.automattic.com

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-***@lists.automattic.com

You can reach the person managing the list at
wp-hackers-***@lists.automattic.com

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 <***@wordshell.net>
To: wp-***@lists.automattic.com
Subject: [wp-hackers] Avoiding option cacheing for a specific option
Message-ID: <***@wordshell.net>
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 <***@gmail.com>
To: wp-***@lists.automattic.com
Subject: Re: [wp-hackers] Avoiding option cacheing for a specific
option
Message-ID:
<CAOwx47emozhwFhHAGkTKrHwkCw2cJ9OtPNT4sk-***@mail.gmail.com>
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.
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
http://lists.automattic.com/mailman/listinfo/wp-hackers
------------------------------

Subject: Digest Footer

_______________________________________________
wp-hackers mailing list
wp-***@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-hackers


------------------------------

End of wp-hackers Digest, Vol 116, Issue 11
*******************************************
Eric Andrew Lewis
2014-09-20 15:51:59 UTC
Permalink
"Should never be cached" sounds like cache invalidation is your real issue.
Post by c***@gmail.com
‎Would love to also love to know why the option should never be cached‎.
Original Message
Sent: Saturday, 20 September 2014 1:00 PM
Subject: wp-hackers Digest, Vol 116, Issue 11
Send wp-hackers mailing list submissions to
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
You can reach the person managing the list at
When replying, please edit your Subject line so it is more specific
than "Re: Contents of wp-hackers digest..."
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
Subject: [wp-hackers] Avoiding option cacheing for a specific option
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
Subject: Re: [wp-hackers] Avoiding option cacheing for a specific
option
<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.
<javascript:;>>
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
http://lists.automattic.com/mailman/listinfo/wp-hackers
------------------------------
Subject: Digest Footer
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
------------------------------
End of wp-hackers Digest, Vol 116, Issue 11
*******************************************
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
--
Eric Andrew Lewis
ericandrewlewis.com
610.715.8560
Loading...