Welcome!
Log In
Create A New Profile
Home
>
Mailing Lists
>
Nginx Mailing List - English
> Topic
Advanced
Re: How to cache js/css request containing a question mark?
Previous Message
Next Message
Forum List
Message List
New Topic
Print View
biazus
August 31, 2015 12:57PM
Registered: 10 years ago
Posts: 15
Please try to remove $ in the end of the expression:
something like this:
location ~ .*\.(js|css) {
expires 7d;
}
Also, make sure you are using args in the cache key:
proxy_cache_key "$host$uri$is_args$args";
Regards,
Biazus
Reply
Quote
RSS
Subject
Author
Posted
How to cache js/css request containing a question mark?
log
August 31, 2015 11:59AM
Re: How to cache js/css request containing a question mark?
biazus
August 31, 2015 12:57PM
Re: How to cache js/css request containing a question mark?
log
September 01, 2015 11:18PM
Re: How to cache js/css request containing a question mark?
log
September 02, 2015 02:40AM
Re: How to cache js/css request containing a question mark?
B.R.
September 02, 2015 03:08AM
Sorry, only registered users may post in this forum.
Click here to login
Online Users
Guests: 258
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018