Welcome!
Log In
Create A New Profile
Home
>
Nginx Related Forums
>
How to...
> Topic
Advanced
Is there a way to cache only GET Ajax request?
Posted by
photographer
Forum List
Message List
New Topic
photographer
Is there a way to cache only GET Ajax request?
December 02, 2014 10:04AM
Registered: 13 years ago
Posts: 12
Usually I have in nginx config rules which does not allow cache all XMLHttpRequest map $http_x_requested_with $nocache_01 { default 0; XMLHttpRequest 1; }
Is there a way to cache only GET Ajax request?
Br,
Rostyslav
Reply
Quote
itpp2012
Re: Is there a way to cache only GET Ajax request?
December 02, 2014 02:35PM
Admin
Registered: 11 years ago
Posts: 1,296
Anything in $request you can test for ?
---
nginx for Windows http://nginx-win.ecsds.eu/
Reply
Quote
Newer Topic
Older Topic
Print View
RSS
Sorry, only registered users may post in this forum.
Click here to login
Online Users
Guests: 337
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018