Re: How do I know that caching is working?

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

 



"Russell Bell" <russellbell@xxxxxxxxx> writes:

>      I installed a flash drive large enough to hold all the static
> content of my website.  I built Apache (2.0.63) with the cache,
> file_cache, disk_cache, and mem_cache modules installed;
> httpd -l so reports.
>      I configured httpd.conf to enable disk caching for my whole
> website, then disabled it for the dynamic data.
>
>         CacheEnable disk /
>         CacheDisable /livedata
>         CacheRoot /usb
>         CacheMaxFileSize 10000000
>         CacheSize       10000000
>         CacheDirLength  4
>         CacheDirLevels  5
>
> I restarted Apache.  I expected to see files appear in /usb.
> I haven't.  What's happening?

- Have you made requests?  Files would only appear as they are
  requested.

- Does /usb exist?  Is it writeable?

- Is your content access-protected?  If so, it won't be cached.

- Is there anything in the error log?

-- 
Dan Poirier <poirier@xxxxxxxxx>


---------------------------------------------------------------------
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