Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:80167 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 74988 invoked from network); 5 Jan 2015 02:48:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Jan 2015 02:48:19 -0000 Authentication-Results: pb1.pair.com smtp.mail=php_m@rtin.so; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=php_m@rtin.so; sender-id=unknown Received-SPF: error (pb1.pair.com: domain rtin.so from 209.85.212.177 cause and error) X-PHP-List-Original-Sender: php_m@rtin.so X-Host-Fingerprint: 209.85.212.177 mail-wi0-f177.google.com Received: from [209.85.212.177] ([209.85.212.177:58508] helo=mail-wi0-f177.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 42/00-09311-17BF9A45 for ; Sun, 04 Jan 2015 21:48:18 -0500 Received: by mail-wi0-f177.google.com with SMTP id l15so2406018wiw.4 for ; Sun, 04 Jan 2015 18:48:14 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:message-id:references:to; bh=o5uC02RZO4Opbg1m8UmvMvWUazyMtvR2/pHkO8sBUI0=; b=Us2BPpeHaDFftDVGcYDpYURoVXDw4nb2bi7oog455lq6SAqW/bILUV+cqbg2G+AywS T/oESjPEKVSbHyBkbWIusYsR5cLk9kdIFhfOsT5ilVnggWPop2SjURXsB0vc9IB2pYy+ O8KKgLY+W5hAN/beTJ6J2TW0LKyuYLbZqZ/LjGmjpEw1lZpCCTAY0+Edpu3dhYS/RcKA x79A1lGRDqD8QD0pFMHv4QM6n4rv8pfVWQ3dVzZvFCRbbcl/p9w4GhfBxE2XP5lkfnh9 BiZ9mBSBoI0WnDhFsYSHcXpfINgJwCTnmO2Cx1TBhuOuTpNTQKW+9PVTpnjgj/cX33X9 gOvg== X-Gm-Message-State: ALoCoQlaMSnGCHUIMnnevqgOs7Fl+O0NqXeP1WBigAlIKCxtQ7TwOiDcfvNeEvnQi+7zPObcicy7 X-Received: by 10.180.206.229 with SMTP id lr5mr20833242wic.74.1420426094349; Sun, 04 Jan 2015 18:48:14 -0800 (PST) Received: from [10.113.1.6] ([46.165.210.17]) by mx.google.com with ESMTPSA id mo12sm73617664wjc.35.2015.01.04.18.48.11 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 04 Jan 2015 18:48:13 -0800 (PST) Content-Type: multipart/alternative; boundary="Apple-Mail=_DE96479D-EB89-4ABB-A7BE-978EFD89046E" Mime-Version: 1.0 (Mac OS X Mail 8.0 \(1985.3\)) In-Reply-To: <000c01d02839$738c0ef0$5aa42cd0$@tekwire.net> Date: Sun, 4 Jan 2015 18:48:02 -0800 Cc: Andrea Faulds , internals@lists.php.net Message-ID: <7A823CE7-550A-4532-96B3-8DD48E2F8FBE@rtin.so> References: <003901d027be$d1837ff0$748a7fd0$@tekwire.net> <000c01d02839$738c0ef0$5aa42cd0$@tekwire.net> To: francois@tekwire.net X-Mailer: Apple Mail (2.1985.3) Subject: Re: [PHP-DEV] [RFC] Add is_cacheable() stream-wrapper operation From: php_m@rtin.so (Martin Amps) --Apple-Mail=_DE96479D-EB89-4ABB-A7BE-978EFD89046E Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Did you mean to omit the =93return=94 for is_cacheable_stream_path if = !PHP_STREAMS_SUPPORT_IS_CACHEABLE? = https://github.com/flaupretre/php-src/commit/d012ba6cb357df9fcb8f6669e3c71= 03018590b41?diff=3Dunified#diff-f6d4b551c6233faa294ae9a97897c7d4R143 = > On Jan 4, 2015, at 8:13 AM, Fran=E7ois Laupretre = wrote: >=20 >> De : Andrea Faulds [mailto:ajf@ajf.me] >> How would cache invalidation work? Is there already some mechanism to >> handle that with streams? >=20 > Sorry, I am not sure I understand what you mean with 'cache = invalidation'. > Do you mean stat/mtime check to detect file changes ? This mechanism = works > the same with stream wrappers through an url_stat() call. >=20 >=20 > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >=20 --Apple-Mail=_DE96479D-EB89-4ABB-A7BE-978EFD89046E--