Results 1 to 5 of 5

Thread: How to set web cache in apache

  1. #1
    Join Date
    Feb 2010
    Posts
    638

    How to set web cache in apache

    Hi all,

    The apache after the installation is not allowed by the cache. If i add the cache, or squid Servers requested web acceleration, then it needs to be set htttpd.conf where, of course, the premise that when i install Apache to activate the mod_cache module. How to set web cache in Apache. Please send details. Thanks in advance.

  2. #2
    Join Date
    May 2008
    Posts
    2,389

    How to set web cache in apache

    I have the following steps that brief of installation and configuration steps:
    # Apache version: httpd-2.0.49.tar.gz
    # Install httpd-2.0.49.tar.gz:
    # Tar-zxvf httpd-2.0.49.tar.gz
    # Cd httpd-2.0.49
    #. / configure - enable-cache - enable-disk-cache - enable-mem-cache
    # mke
    # make install and check.
    Best of luck.

  3. #3
    Join Date
    May 2008
    Posts
    2,012

    How to set web cache in apache

    You need to test whether the cache module is installed. Check / usr/local/apache2/bin/apachectl-l. If there is mod_cache.c, mod_disk_cache.c
    mod_mem_cache.c.These three modules, shows that the Apache can support the cache of the server. Change httpd.conf settings, vi / usr/local/apache2/conf/httpd.conf and add at the end: the
    Code:
    <IfModule Mod_cache.c>
    .

    Check and reply.

  4. #4
    Join Date
    Apr 2008
    Posts
    2,005

    How to set web cache in apache

    You can enable Cache. Start mod_cache, then take two parameters. The first parameter specifies the type of cache should be set mem (memory cache) or disk (disk cache) of the one; the second parameter specifies the URI using the cached path, if the entire site (or virtual host) for the cache, simply designated as the root directory (/) can be.
    CacheForceCompletion: This value specifies when the HTTP request was canceled, the content of actions to complete the percentage of produce; default is 60 (%).
    CacheDefaultExpire: Specifies the default cache expiration seconds; default value is one hour (3600).
    CacheMaxExpire: Specifies the largest cache of expired seconds; default value is one day (86400).
    CacheLastModifiedFactor: Lane Last Modified is used to respond to information from the calculated expire date.

  5. #5
    Join Date
    May 2008
    Posts
    2,297

    Re: How to set web cache in apache

    If you use squid reverse proxy to the server, then it can be achieved through the cache to accelerate the web. check the code;
    Code:
    expire period (expiration time-distance) = updated since the last time interval * CacheLastModifiedFactor
    Code:
    The expire date = current time + expire period
    But in any case, the expiration time can not exceed CacheMaxExpire settings.
    Check and reply.

Similar Threads

  1. Replies: 4
    Last Post: 05-05-2012, 05:59 PM
  2. Replies: 6
    Last Post: 12-09-2011, 11:05 PM
  3. Quad core without L3 cache vs Triple core with L3 cache
    By Diellza in forum Motherboard Processor & RAM
    Replies: 3
    Last Post: 25-01-2011, 07:30 AM
  4. Cache settings (intensive cache usage)
    By Valliy in forum Technology & Internet
    Replies: 7
    Last Post: 02-07-2010, 07:13 AM
  5. Want some help to run Apache on x64 version
    By Mr.Dean in forum Windows x64 Edition
    Replies: 2
    Last Post: 01-02-2008, 12:30 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,488,752.47959 seconds with 17 queries