Jump to content

Very noobish APC questions


kreut

Recommended Posts

Hello,

 

I began programming several months ago with PHP and am beginning to feel comfortable with the programming aspect (it's the first language I've used).  I'm now looking into optimizing my website and have found CloudFlare to (easily) use to cache my javascript/css files.  I've now learned that I can use APC to do the same thing with my php files.  But, this is uncharted territory, and I feel a bit of a noob.  But, you've got to start somewhere!

 

1.  By APC "caching unchanging php files", what does this mean exactly?  For example, my understanding would be that if I have a php script that defines functions, that this would be cached since the script won't change.  However, in another script that dynamically generates variables, would the script itself sans the changing variables be cached as well?  And does "caching" the script mean that 1 user who visits multiple times won't have the script recompiled?  Or, once cached, any user who uses that script will use the cached version?  Seems a bit like withcraft at this point.  :shrug:

 

2.  This article: http://www.debian-administration.org/articles/574 made it seem "simple" to install --- that is, except for someone who doesn't know how to get to the "input screen".  (I do have cPanel and have the option to install Pear packages, but never have done so).

 

If someone could help pull away the curtain of the behind the scenes world of APC, I'd appreciate it!

 

Thank you,

 

Eric

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.