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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T23:57:35+00:00 2026-05-18T23:57:35+00:00

Hi guys im a bit confuse with Apc and template caching. By i mean

  • 0

Hi guys im a bit confuse with Apc and template caching.
By i mean template caching is something like smarty caching functionality.
Basically what is the difference between both of them

  • 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-18T23:57:36+00:00Added an answer on May 18, 2026 at 11:57 pm

    APC cache is to compile php script into executable binary op-code and used it later.

    In short, compile once, stored into memory, and reusable until time-to-live ended, or until file get updated.

    Despite this major usage, APC also can used to store run-time variables into memory (you can treat this as global session for everyone accessing the same page)


    While smarty caching technically is not a binary op-code cache, PHP binary still need to convert it to binary op-code every time it get executed.

    What benefits of smarty caching as is it will stored the rendered HTML/output into disk (or you can save the output into APC, the second usage)

    Which mean, it save the execution cycle instead of compilation cycle

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

Sidebar

Related Questions

hey guys. i am a bit stuck on something with ex42: from sys import
Hey guys this is a bit of a homework puzzle I'm working on and
Hi guys needing a bit of help. I am creating a one page personal
Hi guys I'm using this wonderful class here to do a bit of code
hey guys, just having a bit of difficulty with a query, i'm trying to
Hey guys, I have a bit of a problem that I can't solve. I'm
G'day guys, Having a bit of an issue with Rails routes, at the moment.
Hey guys, I have this quick bit of code that I can't figure out
G'day guys, Trying currently to finish up a bit of homework I'm working on,
Morning/Afternoon guys. Writing some JQuery AJAX shizz and getting a bit stuck. I've got

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.