Welcome! Log In Create A New Profile

Advanced

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

November 29, 2013 01:12PM
Или Opcache с opcache.revalidate_freq=n секунд


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

>
> 29 ноября 2013 г., 18:31 пользователь <jd@jdwuzhere.ru> написал:
>
>> APC
>>
>
> apc который в Php? странное поведение..
>
>>
>> > On 29 нояб. 2013 г., at 20:10, greenh <greenh@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@nginx.org
>> > http://mailman.nginx.org/mailman/listinfo/nginx-ru
>>
>> _______________________________________________
>> nginx-ru mailing list
>> nginx-ru@nginx.org
>> http://mailman.nginx.org/mailman/listinfo/nginx-ru
>
>
>
> _______________________________________________
> nginx-ru mailing list
> nginx-ru@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-ru
>
_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

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

greenh November 29, 2013 11:12AM

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

Anonymous User November 29, 2013 11:32AM

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

greenh November 29, 2013 11:54AM

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

Sargas November 29, 2013 01:12PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 125
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