Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7023623
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T23:44:04+00:00 2026-05-27T23:44:04+00:00

I am playing around with the Alternative PHP Cache APC, and I can’t find

  • 0

I am playing around with the Alternative PHP Cache APC, and I can’t find answers to some of my questions.

  1. If a file has been loaded in to the bytecode cache, either by APC automaticlly or implicitly via apc_compile_file(), is the php function include aware of that? Does include use the cache, when it needs the file rather then accessing the file from disc?
  2. If so, how could I test that, to see if it works? Something that shows me that the file on disc wasn’t accessed would be good enough.
  3. Some of the files automatically loaded in to the APC system cache are just pure html files, or 99% html, with a few php variables (Template files). They don’t take much space in the APC cache but still, is there a way to exclude files, or whole folders? Tell APC not to even consider loading them?
  4. I been using SQLite or Redis database as session save handler backend, depending on the project. Often it will not make sense to use both APC and Redis on the same project. What do you think about keeping session data in APC?

Thank you,

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T23:44:04+00:00Added an answer on May 27, 2026 at 11:44 pm
    1. Depending on apc.stat directive before retrieving file’s opcode from the memory php will check if file has been modified (only stat is requested, no content reading)
    2. You can set apc.stat as 0. Include some file, delete it and nothing should happen. The script should work as the file hasn’t been deleted
    3. Yes, use apc.filters
    4. Probably it will be a little faster, but APC is just a cache, so it doesn’t guarantee the data will exist in any particular moment it should
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been playing around with Dynamic Data but I find the filtering and
I've been playing around with JQueryUI for my latest project. I've run into some
Been playing around with node.js and I am developing a file uploading web app
A friend and I have been playing around with pygame some and came across
been playing around with ResolveClientUrl(~/Confirmation.aspx) and other methods.. I am tryin go get the
I'm currently playing around with HTML_QuickForm for generating forms in PHP. It seems kind
I've been playing around with subscribing elements to AJAX events in jQuery. I have
So, I'm just playing around implementing some sorting algorithms in C++, but I'm finding
I'm playing around with creating tiny executables under linux. My attention has come to
I've been playing around with the HTML5 video tag and I'm puzzled as to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.