php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #57646 Caching
Submitted: 2007-05-03 10:06 UTC Modified: 2017-01-10 08:06 UTC
From: michael dot caplan at henryschein dot com Assigned:
Status: Suspended Package: SCA_SDO (PECL)
PHP Version: 5.2.1 OS: CentOS 4
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: michael dot caplan at henryschein dot com
New email:
PHP Version: OS:

 

 [2007-05-03 10:06 UTC] michael dot caplan at henryschein dot com
Description:
------------
It would be awesome if a caching layer could be implemented (either through custom hooks letting the end user implement such a solution, or a SDO native caching layer) to avoid overhead of producing service description requests on each request.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-05-03 11:49 UTC] mfp@php.net
You're right. We had one go at caching these generated files, but we didn't like our solution. Difficulties included deciding where to put the cached files (somewhere under htdocs  so that we can serve them in response to an http request...but some people don't want us to write files into htdocs) and deciding when to invalidate them (probably data and time, with the invalidate period in php.ini or some other config file..but exactly what would be best...).

I'm interested in your notion of hooks and what that would look like.

If you'd like to make some suggestions on the phpsoa group where other people can join in that would be good. 

If you
 [2007-05-04 09:08 UTC] michael dot caplan at henryschein dot com
For what it is worth, supporting object decorators might be a good way to go for allowing custom hooks.  One library that i think does decorators well is PEAR_Translation2 (http://pear.php.net/package/Translation2), and through the use of the decorator pattern offers a few different caching layers.
 [2017-01-10 08:06 UTC] kalle@php.net
-Status: Assigned +Status: Suspended -Assigned To: mfp +Assigned To:
 [2017-01-10 08:06 UTC] kalle@php.net
Suspending this report as the extension have not had a release for almost 9 years.  Please revive this if the extension once again shows life
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 28 17:01:29 2024 UTC