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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T15:51:46+00:00 2026-05-16T15:51:46+00:00

I have made a framework for a project. The project does a medium amount

  • 0

I have made a framework for a project. The project does a medium amount of query requests (but the traffic it will be getting will make it more per user). The views are mixed HTML and PHP.

Just looking for the best minimalist ways on how I should go about caching my view files (the controller uses output buffering so maybe I can leverage that?) and cache my queries. I’ve looked around but only could find big/bloated libraries or very crude methods on doing these things, something I’m not interested in.

Thanks for the help!

  • 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-16T15:51:47+00:00Added an answer on May 16, 2026 at 3:51 pm

    You can try to cache complicated views like lists etc.

    An example: You have a category overview, it shows the name of all categories and the count of items in it. You can cache this view as static html as long as no new item has been inserted or deleted in any category.

    So every time you create a new item or delete one you have to regenerate this view.

    Since items are created less often than being viewed, you can save many queries 😉

    PS: You don’t have to use files for that, you could use memcache (google for it)

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

Sidebar

Related Questions

I have made a little framework for php. In this project I have the
I have made a namespaces framework for javascript. I am loading some plugins (.js
I have made a multiplayer game using the GameKit Framework where 2 iPhones/iPods can
I have a change tracking framework that tracks changed made to domain objects on
I have made a cart and the cart has remove item button, but the
I have a Zend Framework project on a local machine, and as recommended its
We have an Entity Framework project with several models set up using .NET 4
i have made a huge website(front & admin side) in Zend Framework now i
I have recently made the shift to a framework called the Yii Framework. Really
I have a project that utilizes Entity Framework. I want to run SQL Server

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.