Re: mod_cache and wildcard url's

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

 



On 8/9/07, wi <icebattle@xxxxxxxxx> wrote:
> Hi again
>
> I have a REST-based application that is getting quite loaded. I need to
> begin caching some dynamically generated png files that are created by the
> command:
>
> /users/<id>/games<game-id>/user_score
>
> Ideally, I'd like to create a caching directive along the following lines:
>
> CacheEnable disk /users/*/games/*/user_score
>
> so that the thumbnail graphic can be cached.

As far as I know, you can't use wildcards in CacheEnable (although I
haven't checked the code). You can only specify an exact leading path.

One thing to consider: if you are sending proper cache-control
directives with your non-png files, then there shouldn't be any
problem in letting the cache act on them. If you don't want them in
the cache at all, simply send Cache-control: no-cache.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-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