Search squid archive

Caching an application/json file

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

 



Bonjour,

I have a problem with a json file. It isn't cached by Squid.

Here is the headers send by Apache. A added additionnal expire configuration for caching

HTTP/1.0 200 OK
Date: Thu, 09 Sep 2010 16:40:27 GMT
Server: Apache
Set-Cookie: symfony=c648e78b160e6ed7b196a85377e53e3a; path=/
Content-Length: 163979
Cache-Control: max-age=600
Content-Type: application/json
X-Cache: MISS from cache-01
X-Cache-Lookup: MISS from cache-01:80
Connection: close

(The json file is generated by an application using Symfony ...)

Why, in spite of Cache-Control header, Squid doesn't cache the file ?

Here the cache policy:

### object size in cache
maximum_object_size_in_memory 4096 KB
minimum_object_size 0 KB
maximum_object_size 32800 KB
minimum_expiry_time 30 seconds

### cache replacement policy
cache_replacement_policy heap LFUDA
memory_replacement_policy heap LFUDA

Thank you in advance.

--
DjinnS


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux