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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T18:34:26+00:00 2026-06-02T18:34:26+00:00

I have a HTML website running off Apache and using a MySQL database. I

  • 0

I have a HTML website running off Apache and using a MySQL database. I want to speed up my Apache server’s response time. I want to get advice on which way I should go? I read on Google that Varnish is used with Apache. So I have two questions:

  1. Can I use Memcache with Apache or not?
  2. If Yes then which one is better, Memcache or Varnish?
  • 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-06-02T18:34:28+00:00Added an answer on June 2, 2026 at 6:34 pm

    Comparing Varnish and Memcached is like comparing apples and oranges. Varnish is a caching reverse HTTP proxy, and it sits in front of your Apache web server. Memcached on the other hand is a distributed object caching system. It can be used, for instance, to cache content retrieved from the MySQL server.

    Not knowing anything about the specifics of your website, I would say Varnish is the simplest way to go. You could, in theory, just throw it in front of your Apache and have your pages fly. Of course this is not the case in real life. You need to tune Varnish to your specific needs to handle cookies, cache banning etc. efficiently.

    Memcached requires changes to your code. You need to go through your code, investigate where you could gain leverage from caching and implement changes as required.

    Neither Varnish nor Memcached provides a plug-in solution to speed up your site, but both are excellent tools to help you reach that goal.

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

Sidebar

Related Questions

I have one page website only using HTML, CSS and JavaScript. I want to
I have a database driven website built with Django running on a Linux server.
I have an existing website running on IIS6 that has only static HTML pages.
On my website, I have several html files I do not link off the
Working on an AJAX website (HTML,CSS,JavaScript, AJAX, PHP, MySQL). I have multiple javascript functions
I have a website which uses PHP and HTML pages, I want to create
I have a website developed mostly in HTML and JSP, and accessing a MySQL
I have a running server with apache and Socket.IO. I'm trying to send and
I have a website where I'm using the SSI directive #include virtual. <!--#include virtual=_includes/top_nav.html
I have a website running on a NAS server and I also have 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.