Re: Use of mod_expires and mod_cache: how does one control cache time for specific file extensions?

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

 



On Tue, Nov 15, 2016 at 1:29 PM, Tom Browder <tom.browder@xxxxxxxxx> 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@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux