Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-05-12, 01:49:47

Author Topic: Expires Header  (Read 2145 times)

0 Members and 1 Guest are viewing this topic.

Offline bdkminang

  • Junior Member
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Expires Header
« on: 2014-05-17, 15:43:19 »
Hello all.

I'm use kloxo version : 6.5.0.f-2014051002

I setup for wordpress and use nginx proxy and php-fpm event

When i try to my speed website on gtmetrix, i get 77% on page speed. Most of slow it about Expires header.

How to set expires header on nginx proxy?

Hope anybody can help me.

Thanks

Offline pluto01

  • Junior Member
  • *
  • Posts: 17
  • Karma: +0/-0
  • Gender: Male
  • Siapakah Saya ?
    • View Profile
    • Web Hosting
Re: Expires Header
« Reply #1 on: 2016-03-15, 02:51:07 »
Mohon maaf bump post lama,

Btw, ini saya coba dengan
 
Quote
location ~*  \.(jpg|jpeg|png|gif|ico|css|js)$ {
   expires 30d;
   add_header Cache-Control "public";
}
Malah gzipnya jd ga gatif, apakah ada tempat khusus untuk penggunaan Expires Headernya ?

Nginx
WHO AM I

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Expires Header
« Reply #2 on: 2016-03-15, 03:14:33 »
Sebaiknya disetting di index.php saja daripada di webserver.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline pluto01

  • Junior Member
  • *
  • Posts: 17
  • Karma: +0/-0
  • Gender: Male
  • Siapakah Saya ?
    • View Profile
    • Web Hosting
Re: Expires Header
« Reply #3 on: 2016-03-15, 03:20:54 »
Oh baik, thanks pak
WHO AM I

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix
Click Here

Page created in 0.072 seconds with 22 queries.

web stats analysis