Welcome! Log In Create A New Profile

Advanced

Re: Static files bad loading time

April 26, 2015 06:11AM
Sorry, I forgot to add the following part of the config (from server's block):

# Static files location
location ~* ^.+\.(jpg|jpeg|gif|png|ico|css|zip|tgz|gz|rar|bz2|doc|xls|exe|pdf|ppt|txt|tar|wav|bmp|rtf|js)$ {
if ($args ~* "^download") {
add_header Content-Disposition "attachment; filename=$1";
}

expires 30d;
root /home/www/domain.com;
}
Subject Author Posted

Static files bad loading time

grigory April 25, 2015 02:01PM

Re: Static files bad loading time

grigory April 25, 2015 02:05PM

Re: Static files bad loading time

Francis Daly April 25, 2015 06:40PM

Re: Static files bad loading time

grigory April 26, 2015 06:11AM

Re: Static files bad loading time

grigory April 27, 2015 11:59AM

Re: Static files bad loading time

Francis Daly April 30, 2015 01:16PM

Re: Static files bad loading time

grigory May 07, 2015 01:56PM

Re: Static files bad loading time

shahzaib1232 May 07, 2015 02:30PM

Re: Static files bad loading time

Valentin V. Bartenev May 08, 2015 07:44AM

Re: Static files bad loading time

shahzaib1232 May 08, 2015 09:08AM

Re: Static files bad loading time

Valentin V. Bartenev May 08, 2015 09:20AM

Re: Static files bad loading time

shahzaib1232 May 08, 2015 10:46AM

Re: Static files bad loading time

Francis Daly May 27, 2015 05:56PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 71
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready