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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T01:48:49+00:00 2026-05-27T01:48:49+00:00

I have a high traffic website and I need make sure my site is

  • 0

I have a high traffic website and I need make sure my site is fast enough to display my pages to everyone rapidly.

I searched on Google many articles about speed and optimization and here’s what I found:

  • Cache the page
  • Save it to the disk

Caching the page in memory:

This is very fast but if I need to change the content of my page I have to remove it from cache and then re-save the file on the disk.

Save it to disk

This is very easy to maintain but every time the page is accessed I have to read on the disk.

Which method should I go with?

  • 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-27T01:48:50+00:00Added an answer on May 27, 2026 at 1:48 am

    Jan & idm are right but here’s how to:

    Caching (pages or contents) is crutial for performance. The minimum calls you request to the database or the file system is better whether if your content is static or dynamic.

    You can use a PHP accelerator if you need to run dynamic content:

    My recommendation is to use Alternative PHP Cache (APC)

    Here’s some benchmark:

    What is the best PHP accelerator to use?

    PHP Accelerators : APC vs Zend vs XCache with Zend Framework

    Lighttpd – PHP Acceleration Benchmarks

    For caching content and even pages you can use: Memcached or Redis.

    Memcached:
    Free & open source, high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load. Memcached is an in-memory key-value store for small chunks of arbitrary data (strings, objects) from results of database calls, API calls, or page rendering.

    Redis
    Redis is an open source, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.

    Both are very good tool for caching contents or variables.

    Here’s some benchmark and you can choose which one you prefer:

    Redis vs Memcached

    Redis vs Memcached

    Redis VS Memcached (slightly better bench)

    On Redis, Memcached, Speed, Benchmarks and The Toilet

    You can install also Varnish, nginx, or G-Wan

    Varnish:
    Varnish is an HTTP accelerator designed for content-heavy dynamic web sites. In contrast to other HTTP accelerators, such as Squid, which began life as a client-side cache, or Apache, which is primarily an origin server, Varnish was designed from the ground up as an HTTP accelerator.

    nginx
    nginx (pronounced ?engine-x?) is a lightweight, high-performance Web server/reverse proxy and e-mail (IMAP/POP3) proxy, licensed under a BSD-like license. It runs on Unix, Linux, BSD variants, Mac OS X, Solaris, and Microsoft Windows.

    g-wan
    G-WAN is a Web server with ANSI C scripts and a Key-Value store which outperform all other solutions.

    Here’s some benchmark and you can choose which one you prefer:

    Serving static files: a comparison between Apache, Nginx, Varnish and G-WAN

    Web Server Performance Benchmarks

    Nginx+Varnish compared to Nginx

    Apache, Varnish, nginx and lighttpd

    G-WAN vs Nginx

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

Sidebar

Related Questions

i have a high traffic website (1+ Millions visitors per day) and i need
I have a high-traffic news website that I need to add a search feature
I have a website with high traffic. Maybe I will increase minimum connections pool,
We have a bunch of pages that get really high traffic, and as such
I have a (high-traffic) chunk of my website that is entirely static. All the
So I have a website that could eventually get some pretty high traffic. My
I'm currently working on a high-traffic online search site. They have various changes they
I have a high traffic website with a lot of static content. It is
We currently have a high traffic web site, so are relatively comfortable with web
I have a high traffic website and I use hibernate. I also use ehcache

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.