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 6127439
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T16:30:31+00:00 2026-05-23T16:30:31+00:00

There is not too much information in the PHP APC documentation about filtering files.

  • 0

There is not too much information in the PHP APC documentation about filtering files.

“A comma-separated list of POSIX extended regular expressions. If any pattern matches the source filename, the file will not be cached. Note that the filename used for matching is the one passed to include/require, not the absolute path. If the first character of the expression is a + then the expression will be additive in the sense that any files matched by the expression will be cached, and if the first character is a – then anything matched will not be cached. The – case is the default, so it can be left off.”
http://www.php.net/manual/en/apc.configuration.php#ini.apc.filters

I am looking to prevent APC for caching large PDF files. How can I do that using the apc.filter setting.

Many thanks.

  • 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-23T16:30:31+00:00Added an answer on May 23, 2026 at 4:30 pm

    APC only caches files that are being run through the PHP interpreter. If this is happening for PDF files at all, your server is misconfigured, and you need to fix that.

    Ordinarily, PDF files (like any other static media) should be getting served up directly by Apache — neither PHP nor APC would ever even look at them.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm not too good with SQL and I know there's probably a much more
I had a discussion with some colleagues mentioning that there are not too many
Wondering if there's any not-too-hard way to edit non-form text in html 4. I
Is there a way to tell MS SQL that a query is not too
There is a Debian g++-4.4 package, but it's not Ubuntu. There are too many
There is not official standard dealing with the layout of about boxes , which
This question stems from this question Code documentation how much is too much? One
hi im trying to using flashVars however for some reason there not getting sent
QUESTION: Re use of .NET Backgroundworker, is there not a way to let exceptions
There's not a lot to add to the subject really. I am after a

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.