[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-httpd-users
Subject:    Re: [users@httpd] Use of mod_expires and mod_cache: how does one control cache time for specific fil
From:       Eric Covener <covener () gmail ! com>
Date:       2016-11-15 20:31:56
Message-ID: CALK=YjNiqKVLcrQUm23oU98qMdCOfXyx+pT32UhGyNS3YmsrvQ () mail ! gmail ! com
[Download RAW message or body]

On Tue, Nov 15, 2016 at 1:29 PM, Tom Browder <tom.browder@gmail.com> wrote:
> I want to have *.shtml files parsed more frequently than other files.
> Using "mod_expire" seems easy enough but it uses file mime types and
> but I can't find any mime type for "text/shtml" only.

ExpiresDefault in Files/FilesMatch section?

> So I guess my only option is to use "mod_cache" which is not very
> straight-forward to use, but it, too, doesn't seem to be able to use
> files by extension.

I'm not sure if there are any mod_cache specific limitations, but
CacheEnable should work in Files/FilesMatch or at least
Location/LocationMatch.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic