Questions tagged [cache]

A location or process for storing of transitory or temporary data in order to improve application or system performance.

Filter by
Sorted by
Tagged with
0
votes
0answers
15 views

Nginx cache - pass through cache-control: max-age but cache for longer

I have an origin server behind a nginx proxy in a container, with a CDN in front. I want my HTML pages to cache on the CDN for 1 minute, so I set the cache-control: public and cache-control: max-age=...
0
votes
0answers
7 views

Configuring HAProxy cache-store to only cache specific file types

I'm building a new load balancer and need to configure the cache to only store certain file types. At the moment, my config only wants to cache everything small enough to fit. I've tried setting up a ...
2
votes
1answer
28 views

zfs remove wrongly added device

I accidentally added a device as normal pool device instead of cache device. Is there a way undo this? (I basically forgot to type cache when adding the device) I can't remove it root@dmi-vault2:~# ...
1
vote
1answer
23 views

nginx caches the same file with versions

I added default setup for cache on Nginx. On usual refresh I receive 304 but in the cache folder there are additional files with versions like 02a9299b4f7a308b588544c1a735cc1e.0000000002, ...
0
votes
1answer
19 views

Can nginx proxy_cache replace fastcgi_cache?

If nginx is already used with proxy_cache, is there still any need to use fastcgi_cache? In other words.. When using nginx proxy_cache, there is no more need for fastcgi_cache?
0
votes
0answers
12 views

NGINX - Caching not working - Always MISS

I'm currently working on enabling caching on a NGINX (Reverse Proxy). With this configuration, the value of X-Proxy-Cache is always MISS. My current conf (in /etc/nginx/conf.d) : proxy_cache_path /...
0
votes
1answer
57 views

Cache Control Mechanisms

I m trying to find the difference between a server configured with “cache-control max-age=0, must revalidate” and server with “cache-control: no-cache, no-store”. So for the first, to my understanding,...
2
votes
1answer
103 views

Could Cloudflare slow down writing process to database?

I have two identical WordPress sites - live and staging - both sitting in the same EC2 server. The live is using Cloudflare, the staging is not. I noticed that database writing processes are slower in ...
0
votes
0answers
8 views

Request “wait” time is high. Do you see any issue with this HTTP2.0 header?

In my website, only one request,(ie. the root request) is taking more time. Especially the "wait" time is high. The HTTP2.0 Header for the request that is taking more time is posted below. ...
1
vote
0answers
11 views

cache_writeback of thin-provisioning-tools running failed

I use Ubuntu 16.04 with kernel 5.4 and thin-provisioning-tools version 0.8.5 I want to test the cache_xml and cache_writeback tools of thin-provisioning, but it failed. It always failed and I don't ...
0
votes
0answers
30 views

nginx, http ddos protection crawled?

What is the best way to prevent crawlers from caching the "javascript verification" page? With Google there are no problems, but Bing does seem to cache it. All it takes - for the bot - is to reload ...
0
votes
2answers
62 views

How to optimize memory with Fail2Ban, Journal and Clamav

I use VestaCP on Debian 9. Yesterday I received 3 email alerts related to cron. All three contain the same error message: /bin/sh: execle: Cannot allocate memory. So, I started with the free --mega ...
0
votes
1answer
60 views

How to reduce “RAM Cache + Buffer” size due to scrapy

I am running a couple of spiders in parallel by scrapyd 1.2. Each process will raise the Buffer during the crawl significantly as seen in the chart. What is this value and how can I reduce the ...
0
votes
0answers
38 views

Does mod_pagespeed PURGE downstream when its cache purges?

Does google mod_pagespeed send PURGE requests to configured downstream reverse proxies when an item in the mod_pagespeed cache is purged? I'm running Debian 10 with varnish 6 (a varnish 4.0 vcl) ...
0
votes
0answers
12 views

If I have Nginx Reverse Proxy and Pagespeed am I caching the cache?

I have been running Nginx as a caching server with GEO Blocking for sometime now without issue. Apache at the backend and around six domains running SSL. It all runs on a Centos 7 box with 4 cores ...
0
votes
0answers
16 views

How cache credentials works

I want to know how cache credentials works in active directory environment? How cache credentials are stored ? How it is hashed? What will happen when a user changes his password ?
0
votes
0answers
11 views

404 error when set cache control

To minify the problem: On my webpage i can see posts from other users like on twitter or facebook. The problem here is, that the images are not getting cached and my browser download it over and over ...
0
votes
1answer
24 views

Can squid cache for https requests?

Just as said in "Can squid cache objects from HTTPS sites?", to cache objects from https sites, one would need to use the SSL bump feature. But, I can set https proxy as well as http one, even the ...
0
votes
0answers
85 views

Avoiding the error PR_END_OF_FILE_ERROR

I'm using nginx with a SSL cert from Letsencrypt. Everything is working so far. However, i get sporadically a PR_END_OF_FILE_ERROR, when i try to enter my site. This error occurs only, when I'm using ...
0
votes
2answers
23 views

Are images cached or not?

I'm a bit perplexed on debugging of caching circumstances in the landscape of Apache (webserver) and Nginx (reverse proxy): I'm trying to get into knowledge, whether images are properly cached or not....
1
vote
1answer
93 views

Why would Apache log different response sizes for the same url?

I noticed a couple (ostensibly-)harmless log entries, and--I'm admittedly overthinking this by a mile--got curious about Apache2 response sizes. This Ukranian crawler † hit my web daemon, two seconds ...
0
votes
2answers
497 views

How to clear (remove/delete) certificate (ssl/https) cache from chrome browser?

I lost many hours while setting up some self-signed certificates; the problem turned out to be that the browser (Chrome) cached a bad version of the certificate and then just wouldn't let go. I did ...
0
votes
0answers
18 views

Using GPO to disable cached mode in Outlook 2010 - What happens to existing settings?

We have a large NHS exchange estate and historically Cached mode is on for users of NHS mail. Users have on-prem outlook 2010 (for the short time it is still supported), and on-prem exchange accounts ...
0
votes
0answers
21 views

Purge cached data from Apache mod_cache

How to force purge cached response from Apache mod_cache (mod_cache_disk)? https://httpd.apache.org/docs/2.4/mod/mod_cache.html
0
votes
1answer
35 views

My varnish devicedetect.vcl is not working site no longer responsive

default.vcl # Default backend definition. Set this to point to your content server. backend default { .host = "127.0.0.1"; .port = "8080"; } sub vcl_recv { # ...
0
votes
1answer
49 views

How to remove the least-recently-used image layers from Docker cache?

I would like to (1) avoid running out of disk space due to Docker filling up its cache and (2) easily recover from such situation without discarding the cached objects that have been used recently. ...
0
votes
0answers
54 views

How to move nginx cache contents to another machine

I'm running a nginx server on debian 9 to save some bandwidth for my s3 bucket. It currently holds 300gb of data. In order to save some money I want to move this data to another server. I'm currently ...
-1
votes
2answers
78 views

Can you cache the 'find' command?

I wrote a simple shell script which uses the 'find' command so non-technical users can do a search on the file server through a web browser on the LAN. It works, but sometimes it has a long execution ...
0
votes
1answer
88 views

Is it safe to use proxy_ignore_headers Vary?

I use a Nginx server that acts like a cache/reverse proxy for my Apache origin server. I was strugling to debug high rate of cache MISS when I found that it is because the response header Vary: ...
1
vote
2answers
142 views

Prevent Cloud CDN from serving cached elements?

I have some problem with Cloud CDN. I've added a CDN to a bucket connected on an instance. I need to get an element from CDN, but this element is updated each 1 sec from my server. What happen is ...
6
votes
1answer
69 views

Microsoft Storage Spaces Write-Back Cache exists on HDD-only single-tier parity disk?

I created a parity storage space on 3x external USB 4tb HDD attached to a Windows 10 1809 machine. I then moved those HDDs to a Server 2019 1809 machine and added 1x additional 4tb HDD. I noticed ...
0
votes
1answer
1k views

Alter Nginx reverse proxy cache header from Public to Private

I have an Nginx cache server getting content from an origin server, the origin server sets Cache-Control to Public so my Nginx cache server can cache the content and make less requests to origin. But ...
0
votes
0answers
17 views

Why do both Chrome and Firefox get stuck trying to download index.php even though apache's configuration is fixed?

An erroneous change to the apache2 configuration results in the dread download-rather-than-render-php-file problem. But everyone knows that as well as the many various ways it can occur and the ...
0
votes
1answer
185 views

NGINX cache (same URL) first returns MISS to all Chrome, Curl and Wget

I have a nginx cache proxy that gets content from an apache origin server. I make requests from curl, wget and Chrome to verify the cache response. Problem is that, for same URL, I always get a MISS ...
0
votes
0answers
22 views

nginx to cache upstream selection

I wonder if someone has an idea about this. Several http clients are requesting (GET) an url. This url is available ONLY on one of five servers, and i cannot know which one in advance. Please note ...
0
votes
0answers
19 views

Seprated location block for same URI by different query-string Nginx

These are my URIs /posts.php?action=get_single_posts /posts.php?action=search /posts.php?action=get_all_posts I need 2 separated location block for these URIs in Nginx because I want to cache ...
0
votes
0answers
37 views

Extensionless PHP file served using nginx gets downloaded after caching

I have a core PHP based website, in order to have clean URLs without .php extensions in the URL I have made use of nginx config to serve the PHP as extensionless. But after few days I realised that ...
0
votes
1answer
77 views

set correct request host to avoid this infinite loop in nginx

I configured this nginx server for example.com and www.example.com to be a cache/reverse proxy, taking data from mysource.example.com It seems to work ok in browser, but I noticed significant google ...
0
votes
1answer
50 views

Memcached not working in PHP file but working on SSH - CentOS

On my CentOS 7, Memcached is running and working on SSH but not working in the PHP file. I've followed this article: https://www.mynotepaper.com/install-memcached-on-centos-7. This method was working ...
0
votes
0answers
18 views

Can nginx cache UDP requests?

I have a server in front of several backend servers that act as router using iptables DNAT. As I know, every connection will be tracked by the conntrack module and the count is limited. I have an ...
0
votes
0answers
44 views

proxy_cache based on extension

I have a nginx proxy like this: proxy_cache_path /var/nginx-cache/ levels=1:2 keys_zone=m3cache:10m max_size=2500m inactive=1m use_temp_path=off; proxy_cache_key "$scheme$...
0
votes
1answer
71 views

nginx mixing cached content between my different domains

I don't know if this is a bug or I am defining cache incorrectly, I have a nginx cache (reverse proxy) server that is used by 2 different domains (mydomain1.com and mydomain2.com), different content, ...
0
votes
0answers
35 views

Squid cache RPMs only one time

I created local repositories. I'm using squid that act as proxy/caching for RPMs requests. If I make a local request of rpm http://repo1/foo, squid saves in cache foo. Now if I request http://repo2/...
0
votes
0answers
66 views

Specific NGINX caching reverse proxy

I need to setup a caching reverse proxy with the following specifics: The upstream is a hosted WordPress install on NGINX as well There is no interaction possible from a user, e.g. the WordPress ...
0
votes
0answers
111 views

DNS_PROBE_FINISHED_NXDOMAIN only internally

Background: I created a subdomain called sub.domain.com a few months ago on Inmotion Hosting. The idea was that the subdomain redirected to a site that uses our public IP instead of using our public ...
0
votes
1answer
132 views

Laravel View Cache location

Sorry if this seems trivial, but I need to be sure: Where does Laravel 6 store the view cache? On the cache server or in the storage folder? Does it get stored in my redis if I set it as the cache ...
0
votes
0answers
197 views

Why is the ssl session cache ( ssl_session_cache) disabled by default in nginx?

In nginx, the ssl_session_cache directive has a default of 'none'. ref However, in the documentation for configuring HTTPS server, it's advised to turn on the ssl session cache, as it explains that ...
0
votes
0answers
40 views

Handle MemoryCache with worker process Shut Down

I have created an API using .Net core 2.0, and I am using IMemoryCache to cache some data that takes too much time to be retrieved from database. Each Monday, new Data should be retrieved from the ...
0
votes
0answers
82 views

LocationMatch in the virtual host not working

I need to disable the cache for certain urls. I started useing these directives in the .htaccess file, and they work: <IfModule mod_headers.c> Header unset ETag Header set Cache-Control ...
0
votes
1answer
32 views

Nginx exclude directory from rule

I try to exclude 2 directories from my cache rule in nginx. So I got this cache rule, that works great. location ~* .(js|jpg|jpeg|gif|png|css|tgz|gz|rar|bz2|doc|pdf|ppt|tar|wav|bmp|rtf|swf|ico|flv|...

1
2 3 4 5
30