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

  • Home
  • SEARCH
  • 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 56091
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T17:28:48+00:00 2026-05-10T17:28:48+00:00

PHP has a number of opcode caches, which as i understand it are scripts

  • 0

PHP has a number of opcode caches, which as i understand it are scripts that handle the caching aspects of an application. Is there something similar for classic asp, especially something that does not require component installation?

Regarding the IIS caching behaviour, it seems from reading here that the behaviour is relevant to some sort of pre-compilation step rather than finished pages. please correct me if i am wrong

  • 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. 2026-05-10T17:28:49+00:00Added an answer on May 10, 2026 at 5:28 pm

    Looking at your comments to the answers here so far and at your edit of your question you seem a little confused over caching.

    There are two types of caching we could be be talking about.

    • Opcode or Template caching
    • Output caching

    Opcode or Template caching is the caching that takes place when a raw script file which is merely a text file is transformed to an in memory set of opcodes that can be executed by the script engine. PHP has some additional tools which allow such a set of opcodes be reused when the script file is requested subsequently. Similarly ASP keeps a cache of ‘compilied’ opcodes in memory and on disk so that it can serve subsequent requests for the same script without going through the whole parsing process again.

    Output caching is where the generated output of script that is sent to a response buffer is cached so that subsequent requests for an identical URL (and possible matching other headers as well) would not re-run the script at all but resend the previously cached output.

    ASP has no facility for output caching whereas ASP.NET does. I’m not familiar enough with PHP or its normal platforms to comment on whether such a facility is available for it.

    You can configure ASPs ‘opcode’ caching (which it calls template caching) in IIS manager (IIS6) open the properties window on the Web Sites node go to home directory tab and click Configuration… then select the cache options tab. By default 500 ‘compilied’ pages will be cached in memory and 2000 will be cached on disk.

    In a comment to my original version of this answer you seem to asking whether PHP hosted by IIS would also benefit from template caching. That would depend how PHP is added to the platform.

    I hardly know anything about PHP but I would imagine it is simply another dll which IIS script mapping maps files with the extension PHP to. That being that case it won’t be benefiting from ASPs template caching.

    The following is probably fiction but just to try to round out the picture:-

    Another unlikely possiblity would be if PHP were some how added as ASP Script language. In this case files with PHP extension would be mapped to the ASP.DLL and the files would either contain <%@ language=’PHP’ or the default language in the application configuration would be set to PHP. In this unlikely set up ASP would build a template that would be cached, however whether that template contains ‘compilied’ opcode etc would be up to PHP.

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

Sidebar

Ask A Question

Stats

  • Questions 182k
  • Answers 182k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer A TemplateField includes controls, so the value should be accessed… May 12, 2026 at 4:25 pm
  • Editorial Team
    Editorial Team added an answer Something like this. You need to include vector, sstream and… May 12, 2026 at 4:25 pm
  • Editorial Team
    Editorial Team added an answer I've had a bit better luck with ImageMagick when it… May 12, 2026 at 4:25 pm

Related Questions

I'm working on a website that has a number of style sheets all of
Our development process is highly automated via a raft of bash and php scripts
In my copious free time, I collaborate with a number of scientists (mostly biologists)
How can I make a table sortable using javascript without loading data via AJAX?

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.