Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
183 views

I am trying to learn caching using nginx to cache my NEXT APIs. This is my nginx.config worker_processes 1; events { worker_connections 1024; } http { proxy_cache_path /tmp/nginx/cache ...
Mahmud Araf's user avatar
0 votes
1 answer
309 views

I am attempting to use NGINX as a reverse proxy in front of a GraphQL server and leverage NGINX caching. In my configuration, I intend to cache the response of POST API requests, considering both the ...
Rohit Kumar's user avatar
1 vote
2 answers
161 views

Nginx cache with proxy_cache_background_update on; some api response that has Cache-Control=max-age=7, public, stale-while-revalidate=59. After a while upstream response changes header for the same ...
Axon's user avatar
  • 271
1 vote
0 answers
151 views

hello i am using ngnix as a static server I am getting a error in chrome only [ Ensure preflight responses are valid ] i tried proxy_hide_header "Access-Control-Allow-Origin" add_header '...
SWAG TAMILAN's user avatar
1 vote
0 answers
693 views

I have some websites using Nginx fcgi_cache to serve guests faster. but some day I update a menu in header or update a page. Note: I have tried proxy_cache_purge directive and It's part of nginx ...
Alijvhr's user avatar
  • 2,373
0 votes
1 answer
398 views

I have some wordpress websites running. Nginx fcgi_cache is working for all of these websites but one! This particular one is no different than others. But some of this site's URLs are not caching! ...
Alijvhr's user avatar
  • 2,373
0 votes
0 answers
399 views

I have a server on Nginx. It is written with Django and connected to Nginx through Waitress. I have set up a cache in Nginx. My server has both dynamic and static pages. After starting a server, it ...
Kenion's user avatar
  • 27
1 vote
1 answer
868 views

What attributes(headers, cookies) besides url does Nginx take into account when caching a request? I was trying to find out this information in nginx/log/access.log file. I have found only information ...
Kenion's user avatar
  • 27
0 votes
1 answer
21 views

I'm trying to unconditionally cache an upstream server that provides neither an Expires nor a Cache-Control header. I'm not managing... Config: proxy_cache_path /tmp/nginx keys_zone=motus_cache:2m ...
TvE's user avatar
  • 1,156
0 votes
0 answers
3k views

I have Implemented the Nginx cache with https reverse proxy in centos, My response time taking more than 1.5 seconds for each request. My nginx server configuration was 4 core, 8gb ram. My ...
Debugger's user avatar
  • 802
0 votes
1 answer
1k views

I have a specific need where I am caching 404 responses and not 200 for a request. So, when a request is sent, say for example.com/page_A and if the page is not yet setup in origin, then this 404 is ...
Jinks's user avatar
  • 23
3 votes
0 answers
331 views

I am using the official Nginx image with modified config to cache origin responses. The configuration below is includeed in the http block inside the /etc/nginx/nginx.conf (The main config file for ...
Feras Maali's user avatar
0 votes
1 answer
2k views

I have question about Nginx Cache This my Nginx Config fastcgi_cache_path /var/cache/nginx levels=1:2 keys_zone=fpmcache:100m max_size=70g inactive=3d use_temp_path=off; server { listen 80; ...
Haris Rafiq's user avatar
1 vote
0 answers
81 views

I am new to nginx and I am trying to cache my website. I have a website A that redirects the user to the website B if there is no cache stored. Ideally, the website A should show the "old" ...
John Doyle's user avatar
1 vote
0 answers
2k views

I'm looking to improve nginx caching by removing irrelevant query parameters (that could come from web crawlers or similar) from the request. I have come across an unwieldy solution on the internet: ...
Max Kless's user avatar
1 vote
0 answers
186 views

http { ... server { ... location /good { proxy_cache mycache; proxy_cache_key $arg_cachekey; proxy_cache_valid 200 1h; ...
Jonas's user avatar
  • 5,219
1 vote
1 answer
856 views

I want to serve static files stored on a different server. For that I use Nginx cache with the following configuration. Nginx cache conf: proxy_cache_path /var/cache/cdn levels=1:2 keys_zone=cdn:64m ...
AlberichVR's user avatar
1 vote
1 answer
784 views

I'm trying to enable Nginx FastCgi cache in Prestashop 1.7 but i cannot find any way detecting logged in users or users with active carts in order to bypass cache. Prestashop seems to not implement a ...
sarakinos's user avatar
  • 696
0 votes
0 answers
691 views

I want to cache the content from specific location only. But when i am trying to use regular expression, it is not caching. proxy_cache_path /AINginxService/nginx-1.16.1/cache/ levels=1:2 keys_zone=...
Shashank Dixit's user avatar
5 votes
2 answers
3k views

My task is to implement microcaching strategy using nginx, that is, cache responses of some POST endpoints for a few seconds. In http section of the nginx.conf I have the following: proxy_cache_path ...
Roman Puchkovskiy's user avatar
326 votes
26 answers
554k views

I use nginx to as the front server, I have modified the CSS files, but nginx is still serving the old ones. I have tried to restart nginx, to no success and I have Googled, but not found a valid way ...
Freewind's user avatar
  • 199k