On Tue, Jun 28, 2011 at 5:53 PM, Fatih P. wrote:
>
>
> On Tue, Jun 28, 2011 at 6:34 PM, Stuart Dallas wrote:
>
>> On Tue, Jun 28, 2011 at 5:12 PM, Fatih P. wrote:
>>
>>> On Tue, Jun 28, 2011 at 5:30 PM, Stuart Dallas wrote:
>>>
Fatih, please explain what you mean by "the code files are bei
OP:
Can we see the methods in question?
Have you tried running the code on a different server/host?
Have you added any scaffolding to your methods in order to test your
caching theory? This would be the first thing I would try (i.e. create
random number (or whatever), concat with variable vals g
On Tue, Jun 28, 2011 at 6:39 PM, wrote:
> Fatih,
>I am sorry spell check auto corrected your name, I was not changing
> your name on purpose.
> It was not my intension to piss you off.
>
> I understand your frustration, trust me.
> I am running 5.3.6 on Windows Server 2008 R2 IIS, I am ru
On Tue, 2011-06-28 at 17:34 +0100, Stuart Dallas wrote:
> On Tue, Jun 28, 2011 at 5:12 PM, Fatih P. wrote:
>
> > On Tue, Jun 28, 2011 at 5:30 PM, Stuart Dallas wrote:
> >
> >> Fatih, please explain what you mean by "the code files are being cached.
> >> and modifications in methods are skipped
>
...@buskirkgraphics.com; PHP General
Subject: Re: [PHP] caching problem
On Tue, Jun 28, 2011 at 5:30 PM, Stuart Dallas wrote:
> On Tue, Jun 28, 2011 at 4:23 PM, Fatih P. wrote:
>
>> On Tue, Jun 28, 2011 at 5:12 PM, wrote:
>>
>> > Faith,
>> >
>> > I actually did read from
On Tue, Jun 28, 2011 at 5:12 PM, Fatih P. wrote:
> On Tue, Jun 28, 2011 at 5:30 PM, Stuart Dallas wrote:
>
>> Fatih, please explain what you mean by "the code files are being cached.
>> and modifications in methods are skipped
>> and not executed." How are you getting the modified files onto the
On Tue, Jun 28, 2011 at 5:30 PM, Stuart Dallas wrote:
> On Tue, Jun 28, 2011 at 4:23 PM, Fatih P. wrote:
>
>> On Tue, Jun 28, 2011 at 5:12 PM, wrote:
>>
>> > Faith,
>> >
>> > I actually did read from the beginning of the message.
>> >
>> > That does not make sense.
>> > PHP files are cached inte
On Tue, Jun 28, 2011 at 4:23 PM, Fatih P. wrote:
> On Tue, Jun 28, 2011 at 5:12 PM, wrote:
>
> > Faith,
> >
> > I actually did read from the beginning of the message.
> >
> > That does not make sense.
> > PHP files are cached intentionally, the system does not Cache PHP on its
> > own.
> > Sound
On Tue, Jun 28, 2011 at 5:12 PM, wrote:
> Faith,
>
> I actually did read from the beginning of the message.
>
> That does not make sense.
> PHP files are cached intentionally, the system does not Cache PHP on its
> own.
> Sounds to me like you have an issue re-declaring an object or calling the
>
Message-
From: Stuart Dallas [mailto:stu...@3ft9.com]
Sent: Tuesday, June 28, 2011 9:18 AM
To: Fatih P.
Cc: PHP General
Subject: Re: [PHP] caching problem
On Tue, Jun 28, 2011 at 1:51 PM, Fatih P. wrote:
>
>
> On Tue, Jun 28, 2011 at 1:52 PM, Stuart Dallas wrote:
>
>> O
On Tue, Jun 28, 2011 at 1:51 PM, Fatih P. wrote:
>
>
> On Tue, Jun 28, 2011 at 1:52 PM, Stuart Dallas wrote:
>
>> On Tuesday, 28 June 2011 at 06:57, Fatih P. wrote:
>> > On Tue, Jun 28, 2011 at 7:40 AM, Nilesh Govindarajan
>> > mailto:cont...@nileshgr.com)>wrote:
>> >
>> > > On 06/28/2011 10:56
("D, d M Y H:i:s", time() + $offset) . " GMT";
//output the HTTP header
Header($expire);
Just a thought.
Richard L. Buskirk
-Original Message-
From: Stuart Dallas [mailto:stu...@3ft9.com]
Sent: Tuesday, June 28, 2011 7:53 AM
To: Fatih P.
Cc: php-general@lists.php.
On Tuesday, 28 June 2011 at 06:57, Fatih P. wrote:
> On Tue, Jun 28, 2011 at 7:40 AM, Nilesh Govindarajan
> mailto:cont...@nileshgr.com)>wrote:
>
> > On 06/28/2011 10:56 AM, Fatih P. wrote:
> > > Hi guys,
> > >
> > > the code files are being cached. and modifications in methods are skipped
> > >
On Tue, Jun 28, 2011 at 7:40 AM, Nilesh Govindarajan
wrote:
> On 06/28/2011 10:56 AM, Fatih P. wrote:
> > Hi guys,
> >
> > the code files are being cached. and modifications in methods are skipped
> > and not executed. is there any parameter that i can pass it from ini
> file?
> > this has been so
On 06/28/2011 10:56 AM, Fatih P. wrote:
> Hi guys,
>
> the code files are being cached. and modifications in methods are skipped
> and not executed. is there any parameter that i can pass it from ini file?
> this has been so annoying for me. restarting apache, windows, etc does not
> even help. im
> Hey! About " Header set Expires "Thu, 15 Apr 2010 20:00:00 GMT" "
> The problem is the files might change, lets say - every week. How can I use
> " Header set Expires "Thu, 15 Apr 2010 20:00:00 GMT"" to something like
>
> Header set Expires "today plus week"
>
> (or X seconds / y minutes / etc..
Hey! About " Header set Expires "Thu, 15 Apr 2010 20:00:00 GMT" "
The problem is the files might change, lets say - every week. How can I use
" Header set Expires "Thu, 15 Apr 2010 20:00:00 GMT"" to something like
Header set Expires "today plus week"
(or X seconds / y minutes / etc...)
On Fri,
Hi,
> I started caching some of the static files on my application,
> I was wondering - Lets say I have an article on my website and I *want* to
> cache it. How will I cache it AND will be able to make my visitors
> "re-cache" it if it has been changed?
Work from the last modified date/time on th
On Thu, Jun 5, 2008 at 10:16 AM, VamVan <[EMAIL PROTECTED]> wrote:
> Hello All,
>
> Today my question is about the all important topic "Web Optimization"
>
> What kind of caching mechanisms can I use for Mysql Queries?
mysql has its own caching support, worth looking into. you can also cache
qu
APC is getting rolled into PHP 6, allegedly.
So that's kind of a no-brainer to choose, imho, as then you can be
forwards-compatible with something that turns into the PHP Dev Teams'
maintenance work instead of your own.
Zend Cache may still be faster, as they got the jump on the PHP code
caching
On Mon, 2007-03-12 at 14:17 +0100, Merlin wrote:
> clive schrieb:
> > Merlin wrote:
> >
> >> I am looking for a replacement of php trunkcache.
> > I think you meant turck mmcache?
> >
> > have a look at these:
> >
> > http://eaccelerator.net (derivative of mmcache last release: 2006/02/15)
*CO
clive schrieb:
Merlin wrote:
I am looking for a replacement of php trunkcache.
I think you meant turck mmcache?
have a look at these:
http://eaccelerator.net (derivative of mmcache last release: 2006/02/15)
http://www.php-accelerator.co.uk/
thanx I tried php-accelerator. Lets see if this
Merlin wrote:
I am looking for a replacement of php trunkcache.
I think you meant turck mmcache?
have a look at these:
http://eaccelerator.net (derivative of mmcache last release: 2006/02/15)
http://www.php-accelerator.co.uk/
--
Regards,
Clive.
Real Time Travel Connections
{No electrons
Merlin wrote:
> Hi there,
>
> I am looking for a replacement of php trunkcache. As far as I can see,
> there is no further development and I had to take it offline due a
> system update and compatibility issues.
>
> What would you guys recommend for a free caching system on a LAMP
> environment r
I'm writing template
library based on XML. But it's not very efficient to create new
DomDocument, load XML template, process it and show on every page hit.
XML parsing is not very fast, and because I'm parsing XHTML with
entities, all DTD's are parsed too. I thought about something similar
to
java
On Wed, October 5, 2005 8:11 am, Petr Smith wrote:
> is it possible to cache parsed XML files somehow?
I think this is the wrong question...
I mean, OF COURSE, it's possible to cache them SOMEHOW.
You could toss them in your file system, or a database, insert a
machine with squid on it into the
it's not working at all. And it could never work. I don't think it's
funny to write false advices to people "every other week".
I've installed APC cache, tried to save XML. It was not working.
apc_fetch returned NULL every time.
[snip]
When I looked into documentation for APC - there is this se
Petr Smith wrote:
it's not working at all. And it could never work. I don't think it's
funny to write false advices to people "every other week".
I've installed APC cache, tried to save XML. It was not working.
apc_fetch returned NULL every time.
[snip]
When I looked into documentation for A
Petr Smith wrote:
Jasper Bryant-Greene wrote:
Petr Smith wrote:
is it possible to cache parsed XML files somehow? I'm writing
template library based on XML. But it's not very efficient to create
new DomDocument, load XML template, process it and show on every page
hit. XML parsing is not ve
Jasper Bryant-Greene wrote:
Petr Smith wrote:
is it possible to cache parsed XML files somehow? I'm writing template
library based on XML. But it's not very efficient to create new
DomDocument, load XML template, process it and show on every page hit.
XML parsing is not very fast, and because
Petr Smith wrote:
is it possible to cache parsed XML files somehow? I'm writing template
library based on XML. But it's not very efficient to create new
DomDocument, load XML template, process it and show on every page hit.
XML parsing is not very fast, and because I'm parsing XHTML with
entit
Sadly I thought of doing the same thing only to have my face crapped on by
this extreme lameness:
http://www.php.net/manual/en/ref.session.php
"Some types of data can not be serialized thus stored in sessions. It
includes resource variables or objects with circular references (i.e.
objects which
Paul Higgins wrote:
Hello all,
I have some questions regarding caching information with PHP. I was
thinking that I might cache all information that won't be changing for
long periods of time...possibly only once a day or so, instead of
querying the database for information every time. My quest
On Wed, 2004-08-25 at 16:32, Scott Hyndman wrote:
> I've found that caching LARGE datasets can be really useful. Filesystem
> access is blazing fast, and at least in my case, I've found it to be
> significantly faster than the time it takes to process a query and
> return the dataset.
>
> Too much
On Wed, 2004-08-25 at 14:52, Paul Higgins wrote:
> Hello all,
>
> I have some questions regarding caching information with PHP. I was
> thinking that I might cache all information that won't be changing for long
> periods of time...possibly only once a day or so, instead of querying the
> data
* Thus wrote Andrea Tricco ([EMAIL PROTECTED]):
> For the images that don't contain "http://"; my program is already able to
> get them from the web server.
> In other cases, I have to determine the name of the directory where the html
> page is located.
> Thus, the equivocal paths are the problem,
* Thus wrote Andrea Tricco ([EMAIL PROTECTED]):
> Hi,
Hello
>
> I'm using the function "file_get_contents()" to replicate the content of a
> remote html page on my server.
>
> But, the function file_get_contents() works even when the name of the file
> is not specified. For example:
>
> "http:
On 17/9/03 12:18 pm, "Andrea Tricco" <[EMAIL PROTECTED]> wrote:
> Thus, the equivocal paths are the problem, for example:
>
> www.php.net/manual/it/index.php
>
> www.php.net/manual/it/
>
For the above examples the url is the string up to the last '/' char (as
long as the string after the '/' ch
once upon a long ago someone (i belive his name is Hrvoje Niksic) wrote
a program called wget so that people do not have to do all this :-)
Andrea Tricco wrote:
Hi,
I'm using the function "file_get_contents()" to replicate the content of a
remote html page on my server.
But, the function file_ge
the path www.php.net/manual/it/
Best regards.
Andrea
- Original Message -
From: "Andrea Tricco" <[EMAIL PROTECTED]>
To: "php-general" <[EMAIL PROTECTED]>
Sent: Wednesday, September 17, 2003 1:11 PM
Subject: Re: [PHP] caching program
> For the images t
m: "Ryan Gibson" <[EMAIL PROTECTED]>
To: "Andrea Tricco" <[EMAIL PROTECTED]>; "php-general"
<[EMAIL PROTECTED]>
Sent: Friday, September 12, 2003 12:26 PM
Subject: Re: [PHP] caching program
> You could pull out all the img src attributes and if they do
You could pull out all the img src attributes and if they don't contain
"http://"; then prepeand the address of te page then download otherwise just
downlocad the url, but to get the page to work in the new location you may
have to replace the img src attributes
Ryan Gibson
---
[EMAIL PROT
No way, it might be anything from apache's DirectoryIndex directive.
Browsers don't know that either.
Andrea Tricco wrote:
Hi,
I'm using the function "file_get_contents()" to replicate the content of a
remote html page on my server.
But, the function file_get_contents() works even when the na
Jean-Christian IMbeault <[EMAIL PROTECTED]> wrote:
> I am using Apache 1.3.27 and PHP 4.3.3.RC1 and someone has told me that
> my web page cannot be cached but I cannot figure out why. My friend
> tells me my pages all keep sending this in their headers:
>
> Cache-Control: post-check=0, must-rev
If you are not running PHP under a Windows platform and can compile
extensions into PHP the most efficient way to solve problem #2 may be with a
PHP extension I developed. It handles constants and provides a type of
persistent variable too. It has been immensely useful for my projects.
http://pwee
Oops. There was an extra period at the end there (after PHP_SELF).
http://".$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF']");
}
?>
On the threshold of genius, Jed Verity wrote:
> Hi, Roland,
>
> There might be a better way to do this, but you could try to use the
> header() function after your upl
Use header("Location: page.php"); to redirect the browser, you should
allways do it after a post that changes or adds or deletes some data on
the server.
Roland Swingler wrote:
>Hi
>
>I have a problem with caching on IE 5.1.4 on Mac Os X. (PHP 4.0.5)
>
>The page I want to use is a simple file
Hi, Roland,
There might be a better way to do this, but you could try to use the
header() function after your upload takes place to redirect the browser to
the same page, using GET. Something like...
http://".$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF'].");
}
?>
Or something like that. HTH,
Jed
There is Zend Cache, it expensive and you have to pay per processor.
That drove folks to develop APC (Alternitive PHP Cache) which is open
source. http://apc.communityconnect.com/
They take the PHP source and compile it into machine code and stores
that code, which saves porcessor overhead when t
> is this possible using php? what can i do to use
> caching on my website which is totally database
> driven?
try PEAR::Cache
http://pear.php.net
--
Wolfram
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Line: 0207 693 8318
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: 09 August 2001 10:37
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] caching and IE 5
Try this
works for me - try loading www.shanghaiguide.com/main/index.php3 - should
do
Try this
works for me - try loading www.shanghaiguide.com/main/index.php3 - should
do time, and display a different image every time.
cheers,
lawrence.
-Original Message-
From: Karl Phillipson [mailto:[EMAIL PROTECTED]]
Sent: August 9, 2001 5:21 PM
To: '[EMAIL PROTECTED]'
Subjec
On Thu, 9 Aug 2001, Karl Phillipson wrote:
> Is anyone else having fun and games with IE 5.0 and caching?
>
> I have the no-cache code (below) before anything else in my index file.
> Following that an include file is pulled in that has a form with a text
> input field that echos the date and t
It seems still not to work.
i have tried all the header options mentioned. adding a query string is out of the
option I am using javascript and it dont like that stuff. and my browser still
caches everything and drives me nuts. maybe i am putting it in the wrong file? but i
really cant ima
This is what I use for the header information.. I don't know if it will work
for an image or not but it works nicely for text fields that are dynamically
populated.. anyway if you aren't adding this extra little bit at the end of
the header function you might want to give it a shot...
header ("Ca
55 matches
Mail list logo