Re: Странное кешрование в nginx

Sargas sargaskn at gmail.com
Fri Nov 29 18:10:17 UTC 2013


Или Opcache с opcache.revalidate_freq=n секунд


29 ноября 2013 г., 18:53 пользователь greenh <greenh at gmail.com> написал:

>
> 29 ноября 2013 г., 18:31 пользователь <jd at jdwuzhere.ru> написал:
>
>> APC
>>
>
> apc который в Php? странное поведение..
>
>>
>> > On 29 нояб. 2013 г., at 20:10, greenh <greenh at gmail.com> wrote:
>> >
>> > Добрый день
>> > подскажите плз, что это может быть за кеширование и кто за него отвечает
>> > создаю файл
>> > 1.php
>> > кладу  в него ЛЮБОЙ контент, допустим "12345"
>> > открываю в браузере, и вижу 12345
>> > попытка изменить файл не приводит к измеению отдачи
>> > в логах  так же не меняется размер
>> > перезагрузка nginx так же ничего не дает
>> >
>> > /usr/local/etc/nginx # nginx -v
>> > nginx version: nginx/1.4.3
>> >
>> > вот конфиг
>> >
>> > user www www;
>> > worker_processes 2;
>> > worker_rlimit_nofile 32768;
>> > pid /var/run/nginx.pid;
>> > error_log /dev/null;
>> >
>> > events {
>> > worker_connections 32768;
>> > use kqueue;
>> > }
>> >
>> > http {
>> >
>> >  fastcgi_cache off;
>> >   fastcgi_store off;
>> >
>> > default_type application/octet-stream;
>> > client_header_timeout 600;
>> > client_body_timeout 600;
>> > send_timeout 1200;
>> > proxy_read_timeout 180;
>> > proxy_connect_timeout 180;
>> > proxy_send_timeout 180;
>> > proxy_buffer_size 8k;
>> > proxy_buffers 4 32k;
>> > proxy_buffering off;
>> > proxy_cache off;
>> > proxy_busy_buffers_size 64k;
>> > proxy_temp_file_write_size 256k;
>> > gzip on;
>> > gzip_min_length 1100;
>> > gzip_buffers 4 32k;
>> > gzip_types text/plain application/x-javascript text/css text/php
>> text/x-php application/php application/x-php application/x-httpd-php
>> application/x-httpd-php-source;
>> > client_max_body_size 50m;
>> > client_body_buffer_size 128k;
>> > client_header_buffer_size 1k;
>> > large_client_header_buffers 4 4k;
>> > sendfile on;
>> > tcp_nopush on;
>> > tcp_nodelay on;
>> > output_buffers 1 32k;
>> > postpone_output 1460;
>> > lingering_time 30;
>> > lingering_timeout 6;
>> > reset_timedout_connection on;
>> > keepalive_timeout 5;
>> > optimize_server_names on;
>> > server_names_hash_bucket_size 64;
>> > include mime.types;
>> > server {
>> > listen  *:80;
>> > server_name stat;
>> > root /home/client/staе;
>> >  auth_basic            "Restricted";
>> >    auth_basic_user_file  /home/client/stat/.htpasswd;
>> >
>> > location / {
>> >
>> >         fastcgi_pass unix:/home/client/run/socket;
>> >         fastcgi_index index.php;
>> >         fastcgi_param   PHPRC "/home/client/php";
>> >         fastcgi_param SCRIPT_FILENAME
>> /home/client/stat$fastcgi_script_name;
>> >         include fastcgi_params;
>> >
>> > }
>> >         error_log /home/client/logs/stat-error.log;
>> >         access_log /home/client/logs/stat-access.log;
>> >
>> > }
>> >
>> >
>> > }
>> >
>> > _______________________________________________
>> > nginx-ru mailing list
>> > nginx-ru at nginx.org
>> > http://mailman.nginx.org/mailman/listinfo/nginx-ru
>>
>> _______________________________________________
>> nginx-ru mailing list
>> nginx-ru at nginx.org
>> http://mailman.nginx.org/mailman/listinfo/nginx-ru
>
>
>
> _______________________________________________
> nginx-ru mailing list
> nginx-ru at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-ru
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-ru/attachments/20131129/4624aa44/attachment.html>


Подробная информация о списке рассылки nginx-ru