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
1
vote
0answers
17 views

Alternate method for caching mysql query (query_cache) on version above 8.0

On mysql version 8+ the query_cache support was removed. I know why it is not a friendly thing with InnoDB when considering the CPU. But I've some databases which really need this support where user ...
0
votes
0answers
22 views

something is “blocking” my images from loading faster tried apache configs, nginx, cache header stuff, nothing changes

THE ISSUE : the images in my site takes a bit to start loading... like if something is blocking, but unable to pinpoint what could be the cause. PHP 8 / latest WHM LIVE EXAMPLE : https://www.stubfeed....
0
votes
1answer
21 views

How to Avoid Crazy Caching with “Vary: Cookie” Header in NGINX

I know Vary: Cookie is not well liked, since it causes caching of every variation of cookies a user might report. On the other hand, without it, I've had to use Cache-Control: no-cache to tell my ...
0
votes
0answers
24 views

How to disable caching in Google Cloud (php, magento, app.yaml?)

i'm new with google cloud and here is my problem: I have a magento/bitnami installation in gcc and i have to run some php files for updating the product database After the execution of a php file, the ...
1
vote
1answer
43 views

Stop NGINX from locally caching a directory

So, the issue I am currently facing is that NGINX on my system keeps caching huge video files in memory when a HTTP request is made. This is causing NGINX to be using 20GB+ of memory and me having to ...
0
votes
1answer
37 views

Where does my bind config lookup dns entries? [closed]

Hy, I am in the course of learning how bind works. My goal is to have a local dns database so lookups in my lan are not going out to WAN. I set up bind and didnt configure it as forwarding or caching ...
0
votes
1answer
21 views

How can I know the name of the cache file created by NGINX?

Suppose I make a request, https://example.com/path1/2?v=1, and have enabled the proxy caching. How do I know the name of the cache file created by NGINX? The problem is, I want to delete the cache for ...
0
votes
0answers
19 views

Creating cache of remote files

I am trying to cache a small amount(Max 5mb) of the start of all the files that is available on gdrive(gsuite) for quicker indexing. I am experimenting with rclone now, but it seems like it only ...
1
vote
0answers
27 views

How to briefly cache infomation between client interactions?

This is not a topic I know that much about (hence this question) so the title and anything else might be bit off, feel free to edit. or suggest changes. I'm not even sure if this is the correct stack ...
0
votes
1answer
46 views

IIS Output cache doesnt seem to cache static files

I have the configured caching below and Ive also used other scenarios but I cant get my JS files to show in the cache with the below commands. So I dont think they are caching for my .js files. Is ...
0
votes
0answers
19 views

The proxy ignore headers didn't work when I use expires in proxied server

I use nginx to proxy another nginx server, but there is somethine wrong about cache. The config file of proxied server (backend server) : location ~* .*\.(gif|jpg|jpeg|bmp|png|ico|txt|pdf|doc|docx|...
1
vote
1answer
288 views

Windows storage spaces tiered storage not using nvme drive?

I'm trying to run an Ethereum full node (geth v1.10) with archiving for big data analysis. The storage requirements are expected to be 8TB after being fully sync'd. I have a Synology NAS that is ...
1
vote
1answer
57 views

Website is not following Cloudflare's Pagerules

I'm using Cloudflare's Page Rules to cache absolutely everything on my site (except ajax.php) for at least 5 days (images, css, js are cached 30 days). Although all web content is set to be cached ...
0
votes
0answers
22 views

Understanding my Memacached memory usage in a Rails app (versus what AWS says)

I have a Rails app running on AWS, and in AWS I have a Memcached ElastiCache node of type cache.m3.medium (3GB memory, moderate network performance). When I look at the Unused Memory graph I see that ...
0
votes
1answer
23 views

NGINX: Ignoring fbclid parameter for FastCGI Cache Purposes

There are some good responses to this question here: NGINX: Ignoring Certain URL Parameters for Cache Purposes But I cannot seem to get it to work. I'm running a wordpress install and here is my ...
2
votes
0answers
47 views

sssd credential chaching does not work

I set up an Centos7 using sssd as authentication system. The user identies are provided by files (passwd/group, managed by ansible), auth is done via krb5 (provided by active directory). The sssd.conf ...
0
votes
0answers
37 views

Squid taking 2 minutes to fail over between parents

Squid Version 3.5.27 running on Ubuntu 18 VM. Certain applications are only accessible via our on-prem data centers, so as a work-around we configure a parent cache for internal domain names. ...
0
votes
0answers
15 views

What cdn or cache modifies max-age dynamically as content ages?

I am trying to determine what is caching web page responses within the server infrastructure in a transparent cache like behaviour. The cache header defined by the origin server is fixed one hour (...
1
vote
1answer
97 views

How to create a CSP nonce and yet continue website caching?

I am not getting any response to any way I try to phrase this question, so I keep trying. I feel I've got to be missing something, but I've searched and searched. Why isn't it obvious? Why is it so ...
0
votes
0answers
88 views

Magento 2 Varnish caching session from another user - add to cart

When I add an item to cart it will also show a second item, I have previously added from a different device. If I bypass varnish cache, cart seems to work ok. Guess I am missing a setting about ...
1
vote
0answers
11 views

What is the solution to caching vs using a CSP nonce? I've been searching for a while, and haven't found it

I've never seen a good answer to this dilemma, and I've been searching high and low. It seems it is a choice between using a nonce and caching, you can't have both. Really bad choice! We're told '...
0
votes
0answers
7 views

API Gateway Stage cache enabled but requests are not cached

I have enabled the API cache for an API Gateway Stage, with a TTL of 3600 and cache size of 0.5GB but when performing multiple GET requests for the same URL path, the responses is not being cached. ...
0
votes
0answers
57 views

Dnsperf dns caching

i installed dnsperf with unbound and i'm looking to cache a list of DNS records on my centos server i use dnsperf to cache a list dns [root@mail bin]# cat domains.txt facebook.com. MX google.com. MX ...
2
votes
1answer
160 views

Using two SSDs for Hot-Warm-Cold Caching a HDD on Linux

I currently have a debian-based Linux system that I'd like to optimize heavily. This machine has three different drives: An SLC SSD, a QLC SSD, and a 4TB HDD. I wanted to know if it was possible to ...
0
votes
0answers
59 views

Using nginx $request_id for CSP nonce value: how to avoid caching it?

I'm using the nginx $request_id for the CSP nonce value, but how can I get fastcgi_cache to bypass caching it? I tried this above the location block where the variable is created, but it seems to stop ...
1
vote
3answers
73 views

Can I use RAM as Cache for a secondary storage device

I have 10TB~ RAID 5 array and two NVME 500GB on RAID 0 and they in different systems. what I want is to make a stick of RAM like 16GB or something to act as a cache or buffer to give me faster access ...
0
votes
1answer
35 views

Squid 3.5.20 No Internet Access

I installed Squid Proxy 3.5.20 on CentOS 7 The server is connected to the internet and pings Squid is running with no errors When I try to pass through Squid in Chrome I get no internet access for ...
1
vote
1answer
70 views

Caching layer in front of AWS Elastic Container Service

I've got an ECS that implements a REST API, which does some fairly heavy computing, but can massively profit from caching at the request level (since it'll receive many identical requests). I ...
1
vote
1answer
42 views

[Firefox and nginx]: Firefox seems to cache and deliver the content of the wrong subdomain

I'm currently running a mix of different services under different subdomains: a.example.com: Docker container behind nginx proxy b.example.com: nginx site c.example.com: Docker container behind nginx ...
0
votes
1answer
70 views

Cloudflare + Apache + CSP Headers: Old CSP headers are returned

We are using apache2 on our server, which is behind cloudflare (free plan). I am currently implementing googles recaptcha, which requires me to make changes to our CSP headers. What I did: Change CSP ...
0
votes
0answers
50 views

Sonatype Nexus doesn't update single git submodule

I have this setup: -a git repository called MyRepo. This repo has 5 submodules (A,B,C,D,E) -a Jenkins instance that auto-builds MyRepo. On post-build steps there's a simple script that executes: #!/...
1
vote
1answer
353 views

How to whitelist Authorization header in CloudFront custom Origin Request Policy?

I have created the following CloudFront Origin Request Policy: I need Authorization header (without Authorization header the AntiForgeryToken header is not forwarded) but I do not understand why ...
0
votes
1answer
38 views

Enable mysql caching and prevent crash

I have question about MySQL caching. We used mysqltuner.pl in past and enabled caching parameters and it decreased resource usage specially CPU usage. But our main disaster was when server restart ...
0
votes
0answers
265 views

Understanding AWS CloudFront Cache Policy for dynamic web pages

I am working on an e-commerce website, where users can buy/sell products (the website is dynamic) I have created the following CloudFront distribution with the following Behaviors: As you can see I ...
0
votes
0answers
55 views

Which response headers are making Squid's refresh_pattern ineffective?

I cannot get Squid to cache anything with the following origin response headers. When I use curl repeatedly, I get the following response > curl -s -D - -o /dev/null -x "http://localhost:3128&...
0
votes
0answers
31 views

How to make Squid cache files with AWS auth headers

I want to cache images that I get from AWS S3. My HTTP request contains "x-amz-content-sha256", "x-amz-date", and "authorization" headers. Squid can fetch the images fine,...
0
votes
0answers
27 views

Website showing correct content in browser but wrong when google fetches it. Can it be a caching issue?

We use cloudflare caching for our massive site which has hundreds of thousands of pages. The site is a news site built in wordpress and most assets are static and suitable for caching. We had a ...
1
vote
1answer
43 views

How to force streamed image objects to be cached by Squid Forward Proxy

I am accessing images stored on storage like AWS S3 or GCS. I am using a node library called Got to fetch an image, and I stream the response into an image processor. I am using Got with a tunnel ...
0
votes
0answers
20 views

How to increase time for nginx proxy cache

i have the following configuration in the http{} fastcgi_cache_path /etc/nginx/cache/electromarket levels=1:2 keys_zone=electromarket:100m max_size=5g inactive=1d use_temp_path=off; and then in the ...
0
votes
0answers
42 views

Removing bcache's cache - state is “no cache” but can't reformat the previously formatted cache device

Ubuntu 20.04 $ sudo su # make-bcache -B /dev/mapper/luks.data # make-bcache -C --block 4k --bucket 4M /dev/sdd3 Oops I was first supposed to make that cache inside of a luks container. I haven't ...
0
votes
1answer
289 views

Can I implement FNA without facebook permission?

I want to implement a facebook cache server for my ISP. But I couldn't find any resources about implementing an FNA server without facebook permission. I work in a small ISP that does not meet ...
0
votes
0answers
171 views

Is PageSpeed & Pingdom testing through CloudFlare accurate?

In this SCENARIO: A website that routed through CloudFlare with standard Caching enabled: Are there any known issues with testing that with Google PageSpeed or Pingdom's speed test? SYMPTOM When I ...
0
votes
0answers
84 views

NVme cache disk with Dell R620

I have a Dell R620 server, to improve the I/O performance (and latency) of my SAS 15K disks I want to connect an NVme disk with a pcie3 adapter and then use it as a cache disk. How can I do that? ...
0
votes
1answer
9 views

How to add single nginx cache keys or file

How to add single nginx cache keys or file before client access link website. if link website quite more content example: html, image, video... several first access site very slow for cache server ...
0
votes
1answer
138 views

nginx: disable open_file_cache for specific file

we are using nginx with file cache on: http { open_file_cache max=10000 inactive=20s; open_file_cache_valid 60s; open_file_cache_min_uses 4; open_file_cache_errors ...
1
vote
0answers
43 views

Why does Nginx's new files' permissions supersede my default ACL

I have issues setting up proper permission on cache directory on a site that run on Debian 10 with Nginx and php-fpm. I have an user 'myuser' which home is /var/www/mydomain.tld The strucure of the ...
2
votes
1answer
41 views

Cache writes on a RAID to SSD and only do one daily commit to HDD

I have a Debian 10.7 server at home with 3x8TB disks in a mdraid5 setup, kept with hd-idle at a 600s spindown time to reduce power usage. The only thing using the disks is a Samba server, which serves ...
0
votes
0answers
19 views

Is it possible to enable Apache Proxy Cache on the error status responses (403 or 404) too?

We are using Apache Web Server (HTTPD) as a proxy for the Angular Universal (SSR) app. The cache works fine while the response status code of Angular App is 200. We confirm that cache works properly ...
0
votes
0answers
15 views

NFS Issues when uploading to server

I think I'm in a pretty weird setup so I don't really know if the problem is relevant to the configuration or the setup. I set up a Download client on Machine A, the dowload folder is a NFS mount. ...
-1
votes
2answers
62 views

Tool to create pre-compressed [Brotli] files

I am trying to generate pre-compressed brotli files in designated directories… Whatever html, css and js files are there have to be compressed to brotli. I found a rust tool here – https://github.com/...

1
2 3 4 5
31