note 123405 added to function.clearstatcache
| From: | DavidSpector@php.net | Date: | Fri, 07 Dec 2018 01:48:22 +0000 |
| Subject: | note 123405 added to function.clearstatcache | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-209858@lists.php.net to get a copy of this message | ||
Note that this function affects only file metadata. However, all the PHP file system functions do
their own caching of actual file contents as well. You can use the "realpath_cache_size =
0" directive in PHP.ini to disable the content caching if you like. The default content caching
timeout is 120 seconds.
Content caching is not a good idea during development work and for certain kinds of applications,
since your code may read in old data from a file whose contents you have just changed.
Note: This is separate from the caching typically done by browsers for all GET requests (the
majority of Web accesses) unless the HTTP headers override it. It is also separate from optional
Apache server caching.
----
Server IP: 208.43.231.9
Probable Submitter: 98.2.238.89
----
Manual Page -- http://php.net/manual/en/function.clearstatcache.php
Edit -- https://master.php.net/note/edit/123405
Del: integrated -- https://master.php.net/note/delete/123405/integrated
Del: useless -- https://master.php.net/note/delete/123405/useless
Del: bad code -- https://master.php.net/note/delete/123405/bad+code
Del: spam -- https://master.php.net/note/delete/123405/spam
Del: non-english -- https://master.php.net/note/delete/123405/non-english
Del: in docs -- https://master.php.net/note/delete/123405/in+docs
Del: other reasons-- https://master.php.net/note/delete/123405
Reject -- https://master.php.net/note/reject/123405
Search -- https://master.php.net/manage/user-notes.php