On Tue, 2009-03-03 at 14:52 -0500, Robert Cummings wrote:
> >
> > My question then becomes the following: Is there a cache engine
> > available which can store multiple (different) copies of a source
file
> > and serve them only to the appropriate request? Perhaps a better
way
> > to describe thi
On Tue, 2009-03-03 at 11:41 -0800, Damon Miller wrote:
>
> My question then becomes the following: Is there a cache engine
> available which can store multiple (different) copies of a source file
> and serve them only to the appropriate request? Perhaps a better way
> to
> describe this would be
Rasmus Lerdorf wrote:
Jasper Bryant-Greene wrote:
Have you looked at memcache?
http://www.php.net/manual/en/ref.memcache.php
He did say that serialization wasn't an option and you can't use memcached
without serializing. You may not realize you are serializing, but the memcache
extension s
Kevin Wang wrote:
> My php5 web application needs to parse/marshall a bunch of large xml files
> into
> php5 objects at the beginning of handling each request. These xml files are
> static across all the requests and it is really time consuming to
> parse/marshall them into php5 objects.
What so
Kevin Wang wrote:
>Hi All,
>
>My php5 web application needs to parse/marshall a bunch of large xml files into
>php5 objects at the beginning of handling each request. These xml files are
>static across all the requests and it is really time consuming to
>parse/marshall them into php5 objects.
>
>
Kevin Wang wrote:
My php5 web application needs to parse/marshall a bunch of large xml files into
php5 objects at the beginning of handling each request. These xml files are
static across all the requests and it is really time consuming to
parse/marshall them into php5 objects.
I am wondering i
Peter Justus wrote:
Hi List
Not too sure if this is the right list to send to so forgive me for my
ignorance if it is incorrect.
My Question
I have a form which users need to fill out, (quite a lengthy one) it
consists of 5 or so pages with various questions on each!, the last page
submits th
On Fri, May 20, 2005 12:11 pm, Rahul S. Johari said:
> My whole Auto-Image verification application and has come to get stuck at
> the Cache in IE. It¹s working fine in Safari on Mac, but IE is picking up
> the image from the Cache no matter what. I¹ve tried the following:
Are you clearing out the
> Probably, but not serializing at all, and stuffing the data directly into
> shared memory would perhaps be faster, at least as I vaguely understood
> the results of a thread on serialization on this very forum from a month
> or two ago. (Check archives for "serialize" "shared memory" and "Rasmus
Rory Browne wrote:
Interesting idea. Using three identifiers, as a key.
md5() returns a 32 hex-digit value. That means that there are can only
be a maximum of 3.4 * 10^38 possible outcomes for the md5(). This
means that there there is a 1 in
340 chance of a coll
Interesting idea. Using three identifiers, as a key.
md5() returns a 32 hex-digit value. That means that there are can only
be a maximum of 3.4 * 10^38 possible outcomes for the md5(). This
means that there there is a 1 in
340 chance of a collision between
filena
On Mon, May 16, 2005 12:09 pm, Evert | Rooftop said:
> $id1 $id2 and $id3 are when they are combined unique
>
> * Is there a chance of collision when MD5 is used on the id's and the
> ids are long strings
Yes. I think it's like 1 in 2 billion odds.
If you can concatenate $id1$id2$id3 and get a g
To add to the discussion: are you using anything like the Zend
performance cache? MMTurck? Smarty? I ask because there are various
programs out there (some PHP-based, some not) that will cache PHP code.
--
Teach a man to fish...
NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
STFA |
From: Mister Jack [mailto:[EMAIL PROTECTED]
> Hi,
>
> I'm having a bit of a problem.
> I include a class in my script, the first time run fine, and then if I
> change anything in my class, changes are not reflected on the browser,
> it's like it's still the old class which is used. I've cleared
Evert - Rooftop Solutions wrote:
Mark Charette wrote:
Evert - Rooftop Solutions wrote:
I heard that shared memory is actually slower than writing and
reading a file and it is not available on windows systems.
Hmmm ... that's an interesting thing you heard concerning shared
memory. Care to share
Evert - Rooftop Solutions wrote:
Check it out, is in old article, but it says "|shm| -- The |shm|
container stores the cached data in the shared memory. Benchmarks
indicate that the current implementation of this container is much
slower than the |file| container."
Which, of course, is miles awa
Mark Charette wrote:
Evert - Rooftop Solutions wrote:
I heard that shared memory is actually slower than writing and
reading a file and it is not available on windows systems.
Hmmm ... that's an interesting thing you heard concerning shared
memory. Care to share _who_ told you that?
I'd like to
Mark Charette wrote:
Evert - Rooftop Solutions wrote:
I heard that shared memory is actually slower than writing and reading
a file and it is not available on windows systems.
Hmmm ... that's an interesting thing you heard concerning shared memory.
Care to share _who_ told you that?
I'd like to
Evert - Rooftop Solutions wrote:
I heard that shared memory is actually slower than writing and reading a
file and it is not available on windows systems.
Hmmm ... that's an interesting thing you heard concerning shared memory.
Care to share _who_ told you that?
I'd like to make sure I don't hir
Chris Smith wrote:
I have seen some people using stornig cached items in shared memory.
This is explained in some detail here:
http://www.danga.com/memcached/
I heard that shared memory is actually slower than writing and reading a
file and it is not available on windows systems.
There are PHP
Evert - Rooftop Solutions wrote:
I have written an extensive web application frameworks, and I keep
seeing my execution time and memory-usage growing. Right now it is not a
problem, but before it get's out of hands I will need to create a good
cache engine.
My cache engine requires that I can ca
* Merlin <[EMAIL PROTECTED]>:
> I am trying to find a open source PHP Cache extension. After trying
> out ionCube PHP Accelerator (http://www.php-accelerator.co.uk) I had
> to remove it from the system since it brought down the server every
> few weeks due to some memory leak. There is also APC, b
Octavian Rasnita wrote:
From: "pan" <[EMAIL PROTECTED]>
What provides the new data?
Can you run a html update from whatever is supplying the new data?
Hmm, I don't think I can. The data is stored in MySQL by a separate program,
but that data can be used in more pages.
I think the only good
From: "pan" <[EMAIL PROTECTED]>
> What provides the new data?
> Can you run a html update from whatever is supplying the new data?
>
Hmm, I don't think I can. The data is stored in MySQL by a separate program,
but that data can be used in more pages.
I think the only good solution would be to r
> >The problem is that I don't know how to automaticly decide when it is the
> >right moment to update the cache and this is very important.
> >I get some data from a database and the PHP program doesn't know when the
> >database gets updated by another program, so it cannot create the cache
for
>
Gentlemen,
After some study I am very confident that the best solution is to use
squid accelarator rather with out with out any of these caching programs.
The ideas is this you can run squid 'in front of' your webserver and it
will cache the generated html output from the php script and deliver
Octavian Rasnita wrote:
Hi all,
I want to create an html cache of a page, like when that page is saved to
the disk and let the visitors download that static page and not a dynamic
one.
Of course, a dynamic PHP program will load that static page and display it,
but without need to connect to databas
ECTED]
Sent: Tuesday, October 21, 2003 11:56 AM
To: Joshua Minnie
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] cache control with javascript
On 2003.10.21, at 22:28 Asia/Tokyo, Joshua Minnie wrote:
> The "it" that you were asking about was the server. The javascript
> file is
>
On 2003.10.21, at 22:28 Asia/Tokyo, Joshua Minnie wrote:
The "it" that you were asking about was the server. The javascript
file is
actually a PHP file that produces the JavaScript that I need. I only
have
one access to a database and a while loop to generate the code. Here
is the
code piece
The "it" that you were asking about was the server. The javascript file is
actually a PHP file that produces the JavaScript that I need. I only have
one access to a database and a while loop to generate the code. Here is the
code pieces:
[code]
// already connected to the db
$sql = "SELECT * FR
On Mon, 20 Oct 2003 14:44:50 -0400
"Joshua Minnie" <[EMAIL PROTECTED]> wrote:
> Does anybody know how I can make force a javascript file (written in
> PHP) to be cached if the user agent allows it?
>
> Here is the situation:
> I am creating a dropdown menu system that contains a customer list,
>
--- Klaus_Kaiser_Apolinário <[EMAIL PROTECTED]> wrote:
> But this Cache control are not working
What do you mean by not working? Something is cached that shouldn't be? Also,
you are sending multiple Cache-Control headers, sending expired dates, etc. Try
a more straightforward approach first:
--- Tony Tzankoff <[EMAIL PROTECTED]> wrote:
> I have a webpage written in the latest version of PHP and need
> a little bit of help with a rather pesky cache issue. Part of
> the source code is as follows:
>
> page.php
> echo "";
> echo "";
> echo "";
> ?>
>
> The page does
on 02/12/02 10:49 PM, Elmota Abdul Ayyash ([EMAIL PROTECTED]) wrote:
> i had this problem when my pages were cached when I wanted them to be
> refreshed, so I went deep in it and included all the recomended headers
> by the manual, and it worked fine.. I also tried on a clean version, by
> emptyin
Hi Jeroen,
> I want info on the internet where i can find a manuel.
http://www.google.com/search?q=http+cache+control+headers
> the page is a php script and sometimes it comes out of a proxy but
> that is not allowed.
It's not something you have absolute control over - some proxies are
configu
>Date: Fri, 31 May 2002 12:13:40 +0200
>To: Jon Haworth <[EMAIL PROTECTED]>
>From: Jeroen Timmers <[EMAIL PROTECTED]>
>Subject: RE: [PHP] Cache Control
>
>I want info on the internet where i can find a manuel.
>
>I want a statement that de page always ref
Hi Jeroen,
> > > Where i can find more help about cache control
> >
> > http://www.google.com/search?q=help+about+cache+control
> > Or did you mean something a bit more specific?
>
> indeed
> more specific
Well, seeing as you're not sharing the actual question with the mailing
list, this answer
indeed
more specific
Jeroen
At 11:00 31-5-2002 +0100, you wrote:
>Hi Jeroen,
>
> > Where i can find more help about cache control
>
>Here: http://www.google.com/search?q=help+about+cache+control (495,000
>results)
>
>Or did you mean something a bit more specific?
>
>Cheers
>Jon
>
>--
>PHP Gener
Hi Jeroen,
> Where i can find more help about cache control
Here: http://www.google.com/search?q=help+about+cache+control (495,000
results)
Or did you mean something a bit more specific?
Cheers
Jon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/un
Hallo Jeroen ;)
There are several ways to control the caching of pages and images,
including sending headers
and META tags. These are ofcourse HTML/HTTP features and not specific to
PHP.
Because it seems to be needed to send a combination of these to make it
work for a situations,
I prefer a
Nevermind everyone. I was just being an idiot and fetching from the database
BEFORE updating it. Well maybe this will at least help some people not make
the same stupid mistake.
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 11, 2002 8:19 PM
m: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 19 April, 2001 8:34 PM
To: Diego Fulgueira
Cc: Php-General
Subject: Re: [PHP] Cache Control with forms
> Hi everyone! I have the following problem:
> I don't want any of my site's pages to be saved on any browser's cac
> Hi everyone! I have the following problem:
> I don't want any of my site's pages to be saved on any browser's cache.
> Yet, I want all HTML forms to keep their data when the user changes to
> another page without submiting and then comes back using the back button.
>
> I have seen changing the
If you can add a unique number (microtime() * 100) or uniqid() to the
URL, then the browser and server and everybody in between will be pretty
sure it's a different URL and re-load it.
echo "foo";
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD
No prob, that works fine. Thanks so much :)
-Original Message-
From: Tyrone Mills [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 21 March 2001 2:04 PM
To: Matt Stone; PHPlist
Subject: RE: [PHP] Cache
Yup, at the beginning of your PHP script. Sorry, I should have mentioned
that
Yup, at the beginning of your PHP script. Sorry, I should have mentioned
that... :)
-Original Message-
From: Matt Stone [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 20, 2001 8:04 PM
To: Tyrone Mills; PHPlist
Subject: RE: [PHP] Cache
That goes in the PHP code no?
-Original
That goes in the PHP code no?
-Original Message-
From: Tyrone Mills [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 21 March 2001 1:56 PM
To: Matt Stone; PHPlist
Subject: RE: [PHP] Cache
Hi Matt,
For a very extensive solution, check this out:
http://www.zend.com/codex.php?id=435&sing
Hi Matt,
For a very extensive solution, check this out:
http://www.zend.com/codex.php?id=435&single=1
Or, if you just want all your pages to be forced to load all the time
regardless...
header("Cache-Control: no-cache, must-revalidate");
header("Pragma: no-cache");
head
There are already some caching packages out there, I'm not sure how they
perform with CGI (look into Squid). Having each page check for a cached
version of itself sounds like a complicated approach. Another idea is to
generate portions of your site as that don't change often from perl scripts,
a
At 11:19 PM +0100 3/12/01, Joachim Maier wrote:
>To create the HTML-cache page i need to build the whole HTML-page content in
>memory, instead of echoing it back to the user's browser, and finally write
>it to disk. That means, i have to write all HTML in php-code. I can't just
>embed php-parts in
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
header('Cache-Control: no-cache, must-revalidate');
header('Pragma: no-cache');
--
Chris Lee
Mediawaveonline.com
em. [EMAIL PROTECTED]
ph. 250.377.1095
ph. 250.376.2690
fx
51 matches
Mail list logo