Ben Lancaster
July 28, 2011 03:36AM
On 28 Jul 2011, at 07:20, egrueda <nginx-forum@nginx.us> wrote:

> Hi, Ben, and thanks again for your answer.
> These are the complete headers in response. This is a magento website,
> but same happens for a joomla site too.
> Maybe the "Expires" header make this object uncacheable?
>
> ---
> HTTP/1.1 200 OK
> Server: nginx
> Date: Thu, 28 Jul 2011 06:15:29 GMT
> Content-Type: image/png
> Connection: keep-alive
> Keep-Alive: timeout=60
> Last-Modified: Sun, 08 Nov 2009 04:37:42 GMT
> Etag: "72884-ed-477d4a3387180"
> Accept-Ranges: bytes
> Content-Length: 237
> X-Powered-By: PleskLin
> Expires: Fri, 29 Jul 2011 06:15:29 GMT
> Cache-Control: max-age=86400
> X-Cache-Status: MISS
> ---
>

As far as I know, Nginx won't cache static files, which makes sense if
you think about it - serving from the cache is the same as serving
from the disk.

Besides, Linux will cache frequently accessed files in memory anyway.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Is cache being used?

egrueda July 26, 2011 11:54AM

Re: Is cache being used?

egrueda July 26, 2011 12:23PM

Re: Is cache being used?

Ben Lancaster July 26, 2011 12:28PM

Re: Is cache being used?

egrueda July 27, 2011 09:38AM

Re: Is cache being used?

Ben Lancaster July 27, 2011 12:54PM

Re: Is cache being used?

egrueda July 28, 2011 02:19AM

Re: Is cache being used?

Ben Lancaster July 28, 2011 03:36AM

Re: Is cache being used?

Igor Sysoev July 28, 2011 03:50AM

Re: Is cache being used?

egrueda July 28, 2011 04:09AM

Re: Is cache being used?

sureshvv October 21, 2011 04:55AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 247
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready