Re: Apache 2.4 memcached module not caching

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

 



Did that but nothing in the error log.

Here is what I have in logs:

[Wed Aug 06 17:08:49.217652 2014] [core:trace5] [pid 28059:tid 140264647657216] protocol.c(618): [client 192.168.1.113:7899] Request received from client: GET /api/1.jpg HTTP/1.1
[Wed Aug 06 17:08:49.217723 2014] [http:trace4] [pid 28059:tid 140264647657216] http_request.c(301): [client 192.168.1.113:7899] Headers received from client:
[Wed Aug 06 17:08:49.217728 2014] [http:trace4] [pid 28059:tid 140264647657216] http_request.c(305): [client 192.168.1.113:7899]   Host: 192.168.1.127
[Wed Aug 06 17:08:49.217731 2014] [http:trace4] [pid 28059:tid 140264647657216] http_request.c(305): [client 192.168.1.113:7899]   User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0
[Wed Aug 06 17:08:49.217733 2014] [http:trace4] [pid 28059:tid 140264647657216] http_request.c(305): [client 192.168.1.113:7899]   Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
[Wed Aug 06 17:08:49.217735 2014] [http:trace4] [pid 28059:tid 140264647657216] http_request.c(305): [client 192.168.1.113:7899]   Accept-Language: en-US,en;q=0.5
[Wed Aug 06 17:08:49.217737 2014] [http:trace4] [pid 28059:tid 140264647657216] http_request.c(305): [client 192.168.1.113:7899]   Accept-Encoding: gzip, deflate
[Wed Aug 06 17:08:49.217763 2014] [http:trace4] [pid 28059:tid 140264647657216] http_request.c(305): [client 192.168.1.113:7899]   DNT: 1
[Wed Aug 06 17:08:49.217766 2014] [http:trace4] [pid 28059:tid 140264647657216] http_request.c(305): [client 192.168.1.113:7899]   X-ClickOnceSupport: ( .NET CLR 3.5.30729; .NET4.0E)
[Wed Aug 06 17:08:49.217768 2014] [http:trace4] [pid 28059:tid 140264647657216] http_request.c(305): [client 192.168.1.113:7899]   Connection: keep-alive
[Wed Aug 06 17:08:49.217770 2014] [http:trace4] [pid 28059:tid 140264647657216] http_request.c(305): [client 192.168.1.113:7899]   If-Modified-Since: Mon, 04 Aug 2014 15:08:06 GMT
[Wed Aug 06 17:08:49.217772 2014] [http:trace4] [pid 28059:tid 140264647657216] http_request.c(305): [client 192.168.1.113:7899]   If-None-Match: \\"1c7bd-4ffcf1b2ba180\\"
[Wed Aug 06 17:08:49.217774 2014] [http:trace4] [pid 28059:tid 140264647657216] http_request.c(305): [client 192.168.1.113:7899]   Cache-Control: max-age=0
[Wed Aug 06 17:08:49.217810 2014] [authz_core:debug] [pid 28059:tid 140264647657216] mod_authz_core.c(802): [client 192.168.1.113:7899] AH01626: authorization result of Require all granted: granted
[Wed Aug 06 17:08:49.217828 2014] [authz_core:debug] [pid 28059:tid 140264647657216] mod_authz_core.c(802): [client 192.168.1.113:7899] AH01626: authorization result of <RequireAny>: granted
[Wed Aug 06 17:08:49.217832 2014] [core:trace3] [pid 28059:tid 140264647657216] request.c(238): [client 192.168.1.113:7899] request authorized without authentication by access_checker_ex hook: /api/1.jpg
[Wed Aug 06 17:08:49.218903 2014] [http:trace3] [pid 28059:tid 140264647657216] http_filters.c(963): [client 192.168.1.113:7899] Response sent with status 304, headers:
[Wed Aug 06 17:08:49.218923 2014] [http:trace5] [pid 28059:tid 140264647657216] http_filters.c(970): [client 192.168.1.113:7899]   Date: Wed, 06 Aug 2014 14:08:49 GMT
[Wed Aug 06 17:08:49.218927 2014] [http:trace5] [pid 28059:tid 140264647657216] http_filters.c(973): [client 192.168.1.113:7899]   Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips PHP/5.4.30


<IfModule cache_module>
    <IfModule cache_socache_module>
         CacheSocache memcache:localhost:11211
         CacheSocacheMaxSize 512000
         CacheSocacheMaxTime 86400
           <Location /api>
               CacheEnable memcache
           </Location>
     </IfModule>
</IfModule>

I removed IfModule and I get errors.



On Wed, Aug 6, 2014 at 2:06 PM, Eric Covener <covener@xxxxxxxxx> wrote:
On Wed, Aug 6, 2014 at 4:56 AM, Solo Luke <sololuke2013@xxxxxxxxx> wrote:
> Unfortunately the memcache module does not cache the response in memcached
> server. What is wrong?


Try removing all of the ifModule directives as a start.  Then set
loglevel trace8 and have a look at the logs.

--
Eric Covener
covener@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