RE: caching problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 right script/path/class/method something.


I have never heard of PHP being cached unless it was intentionally cached it. Thank god for security reason!!!!!
HTML output?? Sure all the time helps the browser load the content faster.

I have a real issue with who ever told you that PHP is being cached, because if that was the case there is SERIOUS security hole in your PHP.
I am doubting that.

I have cached PHP, it can be done. 

Are you using APC(Alternative PHP Cache)???

I would not suggest it with complex scripting using classes and methods they are the whole reason NOT to cache.


That’s just my opinion.

Richard L. Buskirk

-----Original Message-----
From: Stuart Dallas [mailto:stuart@xxxxxxxx] 
Sent: Tuesday, June 28, 2011 9:18 AM
To: Fatih P.
Cc: PHP General
Subject: Re:  caching problem

On Tue, Jun 28, 2011 at 1:51 PM, Fatih P. <fatihpiristine@xxxxxxxxx> wrote:

>
>
> On Tue, Jun 28, 2011 at 1:52 PM, Stuart Dallas <stuart@xxxxxxxx> wrote:
>
>> On Tuesday, 28 June 2011 at 06:57, Fatih P. wrote:
>> > On Tue, Jun 28, 2011 at 7:40 AM, Nilesh Govindarajan
>> > <contact@xxxxxxxxxxxx (mailto:contact@xxxxxxxxxxxx)>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 annoying for me. restarting apache, windows, etc
>> does
>> > > not
>> > > > even help. im running apache 2.2.19, php ts 5.3.6 on windows 2003 r2
>> > > > any ideas how to avoid this situation? thanks
>> > > >
>> > > > Fatih
>> > >
>> > > It seems you have a wrongly configured opcode cache runnning about
>> which
>> > > you're not aware of.
>> > >
>> > > --
>> > > Regards,
>> > > Nilesh Govindarajan
>> > > @nileshgr on twitter/identica
>> > basically using default configuration, have not changed anything except
>> the
>> > path for extensions in php.ini.
>> > and there is nothing installed/configured to cache anything.
>>
>> Since restarting Apache does not help, the problem is obviously outside
>> the web server. There are two possibilities I can think of...
>>
>> * Browser caching
>>
>> * Proxy caching
>>
>> See if clearing your browser cache helps. If not then you probably have a
>> proxy between you and the server that's caching the content.
>>
>> -Stuart
>>
>> --
>> Stuart Dallas
>> 3ft9 Ltd
>> http://3ft9.com/
>>
>>
> This is not proxy or browser caching. browser does not receive php code. it
> gets output of php code.


Well thanks, cos I only started doing this whole webby programmy developy
technobabble thing yesterday and I'm still learning the basics!*

How do you know that "modifications in methods are skipped and not
executed"? By looking at the output shown in your browser? The output that
could be cached by proxies and/or your browser?

Or are you running them on the command line, in which case some sort of
opcode cache is probably the culprit, or you're not running the code you
think you are.

-Stuart

*sarcasm!

-- 
Stuart Dallas
3ft9 Ltd
http://3ft9.com/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux