Andrew Nacin
|
ccea27cbe7
|
More param fixes, props duck_. see #14783.
git-svn-id: https://develop.svn.wordpress.org/trunk@16469 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-18 19:12:48 +00:00 |
Peter Westwood
|
a91abd41d8
|
Strip back the stats in the memory based object cache to something less verbose and useless.
git-svn-id: https://develop.svn.wordpress.org/trunk@16288 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-11 10:55:06 +00:00 |
Andrew Nacin
|
142fcc3a35
|
Fix html in WP_Object_Cache::stats. props Utkarsh, fixes #15183.
git-svn-id: https://develop.svn.wordpress.org/trunk@15884 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-21 13:15:24 +00:00 |
Andrew Nacin
|
69b3664fe0
|
esc_html in WP_Object_Cache::stats(). fixes #15003.
git-svn-id: https://develop.svn.wordpress.org/trunk@15767 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-09 11:38:12 +00:00 |
Andrew Nacin
|
9494e4ce7e
|
Phpdoc argument/@param cleanups. props duck_, see #14783.
git-svn-id: https://develop.svn.wordpress.org/trunk@15590 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-09-07 11:21:11 +00:00 |
Andrew Nacin
|
6f57a1a3ec
|
s/echos/echoes/ in phpdoc. props demetris, fixes #13742.
git-svn-id: https://develop.svn.wordpress.org/trunk@15148 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-06-06 05:16:32 +00:00 |
Ryan Boren
|
e213402692
|
Preload commonly loaded site options when running multisite without a persistent cache. Introduce wp_cache_reset() and call it instead of wp_cache_init() when re-initing after the blog ID chanages to avoid throwing out the entire cache. Pass cached site options through the site option filter when fetching.
git-svn-id: https://develop.svn.wordpress.org/trunk@13066 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-12 17:06:43 +00:00 |
Ryan Boren
|
10221b01f2
|
Fix typos. Fix assignment. Remove passing of non-existent arg. Props ScottMac. fixes #12193
git-svn-id: https://develop.svn.wordpress.org/trunk@13054 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-11 16:58:32 +00:00 |
Ryan Boren
|
0aba3305b3
|
Use clone to break object refs when setting and getting cache. see #8146 #8191
git-svn-id: https://develop.svn.wordpress.org/trunk@9740 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-11-17 21:01:12 +00:00 |
Peter Westwood
|
000f6ec3b6
|
phpDoc corrections for wp-includes. See #7550 props santosj.
git-svn-id: https://develop.svn.wordpress.org/trunk@8742 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-27 06:45:13 +00:00 |
Ryan Boren
|
2272a1a950
|
Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@8600 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-09 05:36:14 +00:00 |
Ryan Boren
|
be87986f7a
|
phpdoc updates from jacobsantos. see #7038
git-svn-id: https://develop.svn.wordpress.org/trunk@7990 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-05-25 15:45:05 +00:00 |
Ryan Boren
|
66bb3c870e
|
wp_cache_add_global_groups() and wp_cache_add_non_persistent_groups(). fixes #6740
git-svn-id: https://develop.svn.wordpress.org/trunk@7986 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-05-22 17:28:54 +00:00 |
Ryan Boren
|
60b802e55d
|
Some notice fixes from Nazgul. fixes #3155
git-svn-id: https://develop.svn.wordpress.org/trunk@6711 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-02-02 18:42:09 +00:00 |
Ryan Boren
|
083555f56b
|
phpdoc for cache.php from darkdragon. fixes #5511
git-svn-id: https://develop.svn.wordpress.org/trunk@6543 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-01-03 04:35:47 +00:00 |
Ryan Boren
|
a4b001ee03
|
Fix cache close. see #5570
git-svn-id: https://develop.svn.wordpress.org/trunk@6540 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-01-02 23:03:25 +00:00 |
Ryan Boren
|
9ca1712149
|
Remove persistent object cache. fixes #5570
git-svn-id: https://develop.svn.wordpress.org/trunk@6539 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-01-02 22:13:16 +00:00 |
Ryan Boren
|
dd54d8ffe6
|
Allow single post ID and comma delimited list of post IDs to be passed to update_postmeta_cache(). Fix default cache to allow storage of empty array. see #5194
git-svn-id: https://develop.svn.wordpress.org/trunk@6247 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-10-14 01:08:07 +00:00 |
Ryan Boren
|
1b36113b6a
|
Space before slash to properly close br tag. Props tmountjr. fixes #4717
git-svn-id: https://develop.svn.wordpress.org/trunk@5870 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-08-14 03:12:24 +00:00 |
Ryan Boren
|
163f22deb5
|
Comment caching. Reduce queries on edit-comments.php page. Add non-persistent cache groups. Hat tip to hovenko. fixes #4387
git-svn-id: https://develop.svn.wordpress.org/trunk@5666 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-06-08 00:20:22 +00:00 |
Ryan Boren
|
6bf777e1d9
|
Don't load category cache from old tables. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5544 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-05-25 09:45:55 +00:00 |
rob1n
|
3c8cb11aee
|
Delete the cache in tmp even if the copy failed. Props andy. fixes #4141
git-svn-id: https://develop.svn.wordpress.org/trunk@5255 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-04-12 16:31:47 +00:00 |
Mark Jaquith
|
5acfcd9fea
|
trailing tabs and whitespace cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@4953 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-02-27 15:24:54 +00:00 |
Mark Jaquith
|
26f5beaa3d
|
make sure nothing going into the object cache is being passed by reference. fixes #3726
git-svn-id: https://develop.svn.wordpress.org/trunk@4856 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-02-01 09:16:15 +00:00 |
Mark Jaquith
|
ea8fc7def2
|
Introduce Notoptions and Alloptions caching, so that all options (and previously attempted Notoptions) are read from the cache in one go. Should reduce cache misses to zero or close to it. fixes #3726
git-svn-id: https://develop.svn.wordpress.org/trunk@4855 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-02-01 08:53:08 +00:00 |
Ryan Boren
|
a4ff55c30a
|
Fiddle with object destruction and shutdown. Curses upon php 5.2. fixes #3354
git-svn-id: https://develop.svn.wordpress.org/trunk@4686 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-01-06 23:36:51 +00:00 |
Ryan Boren
|
e44ea1ff93
|
Remove trailing spaces and convert spaces to tabs. Props Nazgul. fixes #986
git-svn-id: https://develop.svn.wordpress.org/trunk@4495 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-11-19 07:56:05 +00:00 |
Ryan Boren
|
67ce2d8d4f
|
Ref more singletons.
git-svn-id: https://develop.svn.wordpress.org/trunk@4486 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-11-19 00:12:57 +00:00 |
Ryan Boren
|
8409e85f53
|
Remove unused var.
git-svn-id: https://develop.svn.wordpress.org/trunk@3812 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-05-31 01:40:25 +00:00 |
Ryan Boren
|
1647921f71
|
wp_salt() and more hash work.
git-svn-id: https://develop.svn.wordpress.org/trunk@3811 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-05-31 01:40:00 +00:00 |
Ryan Boren
|
feb562c29f
|
wp_hash() and server secret.
git-svn-id: https://develop.svn.wordpress.org/trunk@3810 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-05-31 00:24:03 +00:00 |
Ryan Boren
|
73c56126c0
|
base64 cached objects and store within multi-line comment block to avoid CRLF injections into the cache. Props Peter Westwood.
git-svn-id: https://develop.svn.wordpress.org/trunk@3798 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-05-26 21:14:36 +00:00 |
Ryan Boren
|
a1d0a8e672
|
Add get_category_by_path(). Remove old fullpath stuff.
git-svn-id: https://develop.svn.wordpress.org/trunk@3576 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-02-28 08:00:39 +00:00 |
Ryan Boren
|
6008a133c4
|
Death to trailing tabs. Props Mark J. fixes #2405
git-svn-id: https://develop.svn.wordpress.org/trunk@3517 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-02-12 07:53:23 +00:00 |
Ryan Boren
|
8a9ce54916
|
Disable cache by default.
git-svn-id: https://develop.svn.wordpress.org/trunk@3504 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-02-04 03:21:09 +00:00 |
Ryan Boren
|
c87ff19cf0
|
Cache flush improvements from Owen. fixes #2223 #2278
git-svn-id: https://develop.svn.wordpress.org/trunk@3465 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-01-19 22:12:15 +00:00 |
Ryan Boren
|
080c0c2bb5
|
Add ENABLE_CACHE flag to force persistent cache enable.
git-svn-id: https://develop.svn.wordpress.org/trunk@3462 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-01-18 22:21:40 +00:00 |
Ryan Boren
|
0d0a6b876d
|
Disable peristent cache when safe_mode.
git-svn-id: https://develop.svn.wordpress.org/trunk@3436 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-01-14 21:22:48 +00:00 |
Ryan Boren
|
79da568b81
|
Acquire lock when flushing cache.
git-svn-id: https://develop.svn.wordpress.org/trunk@3435 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-01-14 00:05:22 +00:00 |
Ryan Boren
|
915517c4f2
|
Save cache after the shutdown hook runs. fixes #2232
git-svn-id: https://develop.svn.wordpress.org/trunk@3411 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-01-06 02:10:43 +00:00 |
Ryan Boren
|
04cd1038db
|
Don't remove top level cache dir when flushing.
git-svn-id: https://develop.svn.wordpress.org/trunk@3402 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-01-05 04:50:58 +00:00 |
Ryan Boren
|
a984308f14
|
More reliable cache flusher that does not require glob().
git-svn-id: https://develop.svn.wordpress.org/trunk@3400 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-01-05 02:56:42 +00:00 |
Ryan Boren
|
f34cbd8d67
|
Preserve suid and sgid bits when creating new directories. fixes #2190
git-svn-id: https://develop.svn.wordpress.org/trunk@3388 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-01-02 02:50:59 +00:00 |
Ryan Boren
|
946cae67f4
|
Default expiration is too long. Change it to 15 minutes.
git-svn-id: https://develop.svn.wordpress.org/trunk@3386 602fd350-edb4-49c9-b593-d223f7449a82
|
2005-12-31 22:34:58 +00:00 |
Ryan Boren
|
4957068837
|
Cache user ids and user logins separately to avoid collision. Props donncha. fixes #2096
git-svn-id: https://develop.svn.wordpress.org/trunk@3330 602fd350-edb4-49c9-b593-d223f7449a82
|
2005-12-19 19:14:22 +00:00 |
Ryan Boren
|
07c03bb2f3
|
Silence mkdir().
git-svn-id: https://develop.svn.wordpress.org/trunk@3194 602fd350-edb4-49c9-b593-d223f7449a82
|
2005-11-22 07:45:07 +00:00 |
Ryan Boren
|
3b1677473a
|
Silence fopen warnings and check return.
git-svn-id: https://develop.svn.wordpress.org/trunk@3171 602fd350-edb4-49c9-b593-d223f7449a82
|
2005-11-19 22:52:57 +00:00 |
Ryan Boren
|
f086287b81
|
Suppress fopen warnings and check return.
git-svn-id: https://develop.svn.wordpress.org/trunk@3170 602fd350-edb4-49c9-b593-d223f7449a82
|
2005-11-19 20:12:26 +00:00 |
Ryan Boren
|
c6c21c0d26
|
Don't loop over empty options. fixes #1900
git-svn-id: https://develop.svn.wordpress.org/trunk@3138 602fd350-edb4-49c9-b593-d223f7449a82
|
2005-11-17 22:46:18 +00:00 |
Ryan Boren
|
bd536befa8
|
Don't bother with sems.
git-svn-id: https://develop.svn.wordpress.org/trunk@3131 602fd350-edb4-49c9-b593-d223f7449a82
|
2005-11-17 09:30:14 +00:00 |