[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [users@httpd] memory caching with Apache 2.4


On Tue, Aug 14, 2018 at 2:10 PM Chuck Stein <stein@xxxxxxxxxxxxx> wrote:
>
> I am finally upgrading an Apache 2.2 server to 2.4 and caching has
> changed.  The Apache server is used in a confined area and is not on the
> web.  I was previously using mod_mem_cache to cache in memory responses
> from my custom back-end tile server module which serves up tiles of data
> from a larger "black box" file.  I've been reading up on the 2.4
> mod_cache, mod_cache_socache, and mod_cache_disk but don't see anything
> equivalent to the old 2.2  mod_mem_cache where I could allocate a
> certain amount of RAM for the result of URL requests.  I don't want a
> disk cache.  I want a memory cache for commonly requested URLs of the
> form: http://server_ip/tile_server/GetTile?i=xx&j=xx&k=xx .  I want to
> be able to set up how much memory is used by the cache.  Can you point
> me in the right direction?

It is really removed.

You can get somewhat close via mod_cache_socache and
mod_socache_shcmcb or one of the other providers + the corresponding
backend like redis or distcache.

mod_mem_cache was limiting (no variant support) and a bit fragile.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx