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 |
Ryan Boren
|
3e78ac5ae6
|
Check if writable before checking if dir to avoid permission denied problems.
git-svn-id: https://develop.svn.wordpress.org/trunk@3123 602fd350-edb4-49c9-b593-d223f7449a82
|
2005-11-17 02:24:52 +00:00 |
Ryan Boren
|
753dbd7183
|
Silence file ops.
git-svn-id: https://develop.svn.wordpress.org/trunk@3113 602fd350-edb4-49c9-b593-d223f7449a82
|
2005-11-16 23:40:14 +00:00 |
Ryan Boren
|
faa7e8cbdd
|
Don't flush if cache is disabled.
git-svn-id: https://develop.svn.wordpress.org/trunk@3110 602fd350-edb4-49c9-b593-d223f7449a82
|
2005-11-16 19:01:58 +00:00 |
Ryan Boren
|
b49bd4d290
|
Flush the cache before installing. fixes #1877
git-svn-id: https://develop.svn.wordpress.org/trunk@3088 602fd350-edb4-49c9-b593-d223f7449a82
|
2005-11-14 22:32:03 +00:00 |
Ryan Boren
|
d68dac7f69
|
Implement wp_cache_flush().
git-svn-id: https://develop.svn.wordpress.org/trunk@3087 602fd350-edb4-49c9-b593-d223f7449a82
|
2005-11-14 22:10:28 +00:00 |
Ryan Boren
|
aedbd711b2
|
Avoid infinite recursion when expiring cache. fixes #1875
git-svn-id: https://develop.svn.wordpress.org/trunk@3086 602fd350-edb4-49c9-b593-d223f7449a82
|
2005-11-14 21:29:30 +00:00 |
Ryan Boren
|
fb234acd09
|
Remove debug cruft.
git-svn-id: https://develop.svn.wordpress.org/trunk@3022 602fd350-edb4-49c9-b593-d223f7449a82
|
2005-11-09 11:17:33 +00:00 |
Ryan Boren
|
7f5284a4de
|
Add cache expiration. Cache requests for non-existant options.
git-svn-id: https://develop.svn.wordpress.org/trunk@3021 602fd350-edb4-49c9-b593-d223f7449a82
|
2005-11-09 11:10:34 +00:00 |
Ryan Boren
|
aae1332f2d
|
Hide serialized object data in comment blocks within .php files. Props ringmaster. fixes #1857
git-svn-id: https://develop.svn.wordpress.org/trunk@3019 602fd350-edb4-49c9-b593-d223f7449a82
|
2005-11-09 02:38:17 +00:00 |
Ryan Boren
|
9765974469
|
Oops. Comment out stats dump.
git-svn-id: https://develop.svn.wordpress.org/trunk@3018 602fd350-edb4-49c9-b593-d223f7449a82
|
2005-11-08 22:28:45 +00:00 |
Ryan Boren
|
b5113fae7c
|
Obfuscate keys with some salt. Add empty index.php files to the cache dirs to prevent directory listings. Props to ringmaster. fixes #1851
git-svn-id: https://develop.svn.wordpress.org/trunk@3017 602fd350-edb4-49c9-b593-d223f7449a82
|
2005-11-08 22:15:06 +00:00 |
Ryan Boren
|
b6930cefd4
|
Remove trailing blank lines.
git-svn-id: https://develop.svn.wordpress.org/trunk@3014 602fd350-edb4-49c9-b593-d223f7449a82
|
2005-11-08 00:39:26 +00:00 |
Ryan Boren
|
c72a1f461e
|
Object caching, round one.
git-svn-id: https://develop.svn.wordpress.org/trunk@3011 602fd350-edb4-49c9-b593-d223f7449a82
|
2005-11-07 21:56:03 +00:00 |