Skip to main content

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
0 answers
12 views

Nginx get time spent in cache lock

In Nginx, I am using the cache lock mechanism to control requests that make it's way to the upstream. However recently I noticed that, when there is a problem in the upstream, some requests take a lot ...
Rockybilly's user avatar
0 votes
0 answers
63 views

How to configure Envoy as a caching forward proxy with HTTP CONNECT support

Does anyone know if there's a way to configure Envoy as a caching forward proxy? I've been trying to come to a config that would do that by following the samples and documentation for: ...
Nilvap's user avatar
  • 1
0 votes
0 answers
37 views

NFSv4 persistent (>1h) wrong cache?

The problem is a bit complicated to explain, but I will try to do so as clearly as possible. I have access to a highly available NAS managed by a hosting provider. Several servers mount this NAS via ...
BDR's user avatar
  • 111
0 votes
1 answer
40 views

How is important cache for a backup NAS storage?

I'm working on a new nas to store veeam backups of some VMs. I will use some magnetic disks and my doubt is about optional ssd cache disks. I was wondering if it is important the cache layer, ...
Tobia's user avatar
  • 1,344
0 votes
0 answers
38 views

“Difficulty Accessing Redesigned Website from Local Network - How to Resolve 404 Error

Description: I recently redesigned our website and migrated it from Namecheap hosting to Hostinger. While the updated design is accessible from external networks when hosted on Namecheap, I’m ...
aiham nimer 's user avatar
0 votes
1 answer
108 views

How to clear disk read cache? [closed]

For performance testing I need a way to clear all disk read caches, since rebooting takes time. Clearing the Windows managed cache clearing OS cache is not enough in my case. I want to measure ...
stgatilov's user avatar
  • 111
0 votes
0 answers
164 views

Squid Proxy StoreID use with pfSense

I am wondering if anyone can help me with learning more about Squid's StoreID? I have been researching this for some time. I got the web cache accelerator to work however at times I feel it is lacking ...
Jonathan Lee's user avatar
0 votes
0 answers
14 views

Ajax not loading show server response issue

i'm using lightspeed server when i hit a page it taking to much time to load ajax request while first it was working fine when i change DNS it slow down and lihgtspeed cache not working for loggedin ...
rizwan ramzan's user avatar
0 votes
0 answers
17 views

Light speed working on private window(incognito) while not working in normal window of a browser

My site is hosted on lightspeed webserver also using lightspeed plugin for optimization it working for private window but not working on normal window of my browser here is header request of both ...
Sheraz Gulfam's user avatar
0 votes
0 answers
67 views

IIS set conditional header in case of cache hit

Question: With IIS, I am looking solution to add a custom header in case of a cache-hit. Although I do not find any possibility to access cache-hits in the web.config. What should be added to the web....
SWiggels's user avatar
  • 111
0 votes
1 answer
209 views

Unable to detect page cache due to possible loopback request

We have installed cache plugin(WP Rocket) on our website. However, in my WordPress website health check, there is an error: Unable to detect page cache due to possible loopback request problem. Please ...
alancc's user avatar
  • 183
0 votes
0 answers
43 views

Writeback cache mirroring on Dell Unity 380F

It appears that described below behaviour leads to slow performance of synchronous writes for our database systems. https://www.delltechnologies.com/asset/en-us/products/storage/industry-market/h15162-...
Nikita Koliada's user avatar
0 votes
1 answer
238 views

ETag-based content revalidation

My CMS generates pretty complex pages and thus takes a little while to do so (about 2 seconds), which is well above my time budget to serve pages to the client. However it's very cheap for me to know ...
Xowap's user avatar
  • 153
0 votes
0 answers
108 views

Nginx force revalidate stale cache after timeout

There is a case in Nginx reverse proxy cache usage, when; proxy_cache_background_update on; proxy_cache_use_stale updating; For the same URL if a single response comes from the upstream with max-age, ...
Rockybilly's user avatar
2 votes
1 answer
422 views

change disk cache settings on Samsung PM9A3 via nvme-cli

I will be running Proxmox guests on a ZFS volume consisting of Samsungs PM9A3 NVME drives. I read here for ex. it might be an advantage in performance to keep the cache of those drives active. So I ...
derhottevomdorf's user avatar
0 votes
0 answers
52 views

linux read cache with minimal setup

I've been trying to find a tool that lets me configure an read cache SSD for an HDD in my little home lab, which is running arch linux (yes...) with the system being installed to the HDD. I'm on a ...
sysfs's user avatar
  • 1
2 votes
0 answers
201 views

Cache writes with cachefilesd (non-shared mode) on Linux

I'm using cachefilesd as a read-cache for an NFS share. This is simple to set up and does what is says. However, I would like to also cache written files. I.e., if I write some.file, and then I read ...
Ostheer's user avatar
  • 41
0 votes
1 answer
94 views

How to find optimum configuration in php.ini on openlitespeed?

I want to increase performance on pagespeed insights, but the problem is I don't know how to use all capacity of hardware on this server ! and I need your help please. I think litespeed not using all ...
Alireza Mirhabibi - IRAN's user avatar
0 votes
1 answer
100 views

Very low resource usage on Openlitespeed (LOMP) on Ubuntu 22.04

I have been testing a custom PHP script on LOMP (Ubuntu 22.04) running on VirtualBox (2GB/2Core). First, I tried Apache and upon benchmarking the script, it could complete 10K requests in ~36s - ab ...
Noob YT's user avatar
0 votes
0 answers
47 views

reverse proxy shall act as a cache and provide a website under a different domain

Assume a webserver providing a language version of a website accessable under the URL http://www.website-a.com/zh-hans/some-otherstuff/index.php I want to setup a reverse proxy for one language ...
jagottsicher's user avatar
-1 votes
1 answer
140 views

open() "/var/lib/nginx/cache/fastcgi/3/d0/bce7bdb8e2c388c7675c97c7324efd03" failed (13: Permission denied)

I am trying to add Caching for Proxy & FastCGI but once i try to view any page on the site it fails with 500 Internal Server Error and when i tried searching my logs for any errors i found that ...
Zorono's user avatar
  • 3
0 votes
1 answer
307 views

rsync cache/deduplication for similar files

I am using rsync to transfer/update 100s of TB from one fileserver to another, millions of files. Many of those files are quite similar (but not identical). I was wondering if there's a way to benefit ...
uli42's user avatar
  • 325
0 votes
0 answers
239 views

nginx: does it generate conflicts if any of the dynamic modules are different?

I have an instance on AWS running Ubuntu 22.04 on which I installed nginx and cloned the instance to build the ngx_purgue_cache module. This is my current nginx output $ nginx -V nginx version: nginx/...
Ale Kenz's user avatar
-1 votes
1 answer
468 views

Kubernetes homelab local storage options [closed]

I think I have an XY problem, if you can identify it as one, please answer accordingly! Background My primary goal is to learn Kubernetes, with a closely-followed secondary goal of doing homelab stuff ...
Bryan Boettcher's user avatar
0 votes
2 answers
294 views

Nginx try_files succeeds on deleted files, then nginx reports error with open()

I have this weird error that is happening where try_files directive successfully finds a file that was just deleted, then nginx proceeds to open the file and returns an error. I am using a standard ...
BigWhale's user avatar
0 votes
0 answers
64 views

How does Solr autowarming and the various cache mechanics work?

I was reading about the caches and warming and I'm left with a bunch of questions. Google landed me here: https://solr.apache.org/guide/7_3/query-settings-in-solrconfig.html Though the latest version ...
KoenDG's user avatar
  • 147
0 votes
2 answers
318 views

Nginx. Override header in cached object, is it possible?

My team uses nginx with cache. The problem is that the application in upstream sends some headers that we would like to override in the cached object. One can see the headers saved in the cached ...
Pier A's user avatar
  • 81
0 votes
0 answers
83 views

Squid cache 302 responses

I have a very specific use case in which I need to cache EVERYTHING. Including 302s. I know it's technically against the HTTP RFC, but I know those redirects will always be the same and I need them to ...
Martin Horský's user avatar
0 votes
1 answer
5k views

FireFox gets ns_error_net_interrupt when clicking on loaded page

FireFox is connecting to my website, but accessing already visited pages would randomly not connect resulting in a Secure Connection Failed Chrome and Microsoft Edge are not having that problem. ...
MeSo2's user avatar
  • 274
0 votes
0 answers
85 views

Is there any cli to detect directory changes between bash script runs?

For example I have this command generate-and-deploy-new-version ./site-directory and I want to run it only if content of the ./site-directory was changed. if checkchanges "./site-directory" ...
ais's user avatar
  • 101
0 votes
1 answer
422 views

Nginx FastCGI Skip Cache Rules for /shop/ in Wordpress woocommerce, why aren't they working?

I am running a LEMP server with Wordpress and Woocommerce. My site is live at https://www.mcmo.is. My Nginx Skip Cache rules seem to be working except for on one page: https://www.mcmo.is/shop When ...
DanRan's user avatar
  • 103
5 votes
1 answer
572 views

How to use targetcli to disable iSCSI write cache

I have exported a single disk as an iSCSI target using targetcli on a Linux host. On a remote machine I have connected to the device, and placed a ZFS volume on it (as a replication target with zrepl)...
Malvineous's user avatar
  • 1,145
0 votes
1 answer
417 views

What happens to a user's browser cache when the website's IP address changes?

When a website's nameserver is set to point to a new IP address, do the cached html pages and images in the user's browser invalidate and get re-fetched? Consider this case: The nameserver's A record'...
Peter Henry's user avatar
5 votes
3 answers
3k views

What are the options to monitoring page cache usage?

In essence the Page Cache is a part of Virtual File System (VFS) which main purpose, as you can guess, is improving IO latency of read and write operations. In computing, a page cache, sometimes also ...
King David's user avatar
1 vote
2 answers
270 views

Prefetched Small File Cache

First, my use case: On my Linux-based server I am getting unsatisfactory disk IO performance for small files, and am limited to the approximately 100 IOPS that a 7200rpm HDD will support. This is of ...
lte678's user avatar
  • 13
0 votes
1 answer
492 views

If I relocate my website's server (changing the IP in the process), will my users be able to access it under the same domain?

If I first publish my website from my server which is in city A, and then move this server to city B (which I expect to change its IP address), will the website's users still be able to access it ...
Miodek's user avatar
  • 3
0 votes
1 answer
298 views

What does this block of varnish code do?

I have this code in varnish config and not sure what it do! This config will cache or not my client requests? what is wrong with it? sub vcl_backend_response { if (beresp.status != 200) { ...
Morteza's user avatar
0 votes
1 answer
2k views

How to take ownership of all contents in CSC folder?

I have files that was saved as offline files from a Synology server to the CSC folder on my computer that I would like to delete. I cannot delete the files unless I individually take ownership of ...
smithalysia92's user avatar
0 votes
1 answer
544 views

Nginx FastCGI cache is EXPIRED when it should not

Nginx sets the x-fastcgi-cache header to EXPIRED a few hours after the page was first cached, whereas the cache validity is 1 week. Nginx Config: fastcgi_cache_path /usr/share/nginx/fastcgi_cache ...
Fluktegrute's user avatar
0 votes
1 answer
2k views

Nginx cache does not set the "X-Proxy-Cache" header

So I´m currently trying to implement caching on my NGINX webserver. For now I have a single conf file in my sites-enabled directory linked, which looks like this: proxy_cache_path /var/cache/nginx ...
MielkeDaniel's user avatar
2 votes
0 answers
533 views

cachefilesd - how to ensure file is copied from local cache?

I have setup cachefilesd and to check if it is correct I verified following: cachefilesd service is running NFS storage is mounted with -o fsc and able to see FSC set to yes in /proc/fs/nfsfs/volumes ...
astre's user avatar
  • 121
1 vote
1 answer
509 views

How can I curl -IL all the website pages starting with the root pagenot just 1 page at the time?

I need to curl -IL all the website and maybe do cron job or something every 24hrs so fastcgi can cache all the pages on vgo The cache don't hit unless I curl -IL the webpage so I need something that ...
Crypto Coupons's user avatar
0 votes
1 answer
207 views

[Wordpress][CACHE] Fastcgi_cache or proxy_cache?

I'm preparing a server to host a classic WordPress site (lots of dynamic content). I have an apache server associated with a Nginx reverse proxy ( with the proxy_pass configuration ). I have several ...
Vold DRag's user avatar
0 votes
1 answer
747 views

How to combine an SSD with two HDDs in a RAID1-ish hybrid setup?

Coming from Linux SSD as HDD cache, I'd like to set up an SSD (or rather a partition thereon) as cache for basically a RAID1 of two HDDs. But since the data might remain cached on the SSD for while, I ...
Tobias Kienzler's user avatar
2 votes
2 answers
968 views

Distributed SSD cache for network storage

Our small computing cluster has 3 computing nodes and 1 file server. The file server has around 70TB data to be accessed by the 3 computing nodes. All of the 3 computing nodes have 3 4TB SSDs which ...
Leo's user avatar
  • 21
8 votes
2 answers
17k views

Safe way to clear all packages from yum cache?

I know that yum clean all doesn't necessarily clear all the package files. I know from "Maybe you want: rm -rf /var/cache/yum" that I might have to, good grief, bluntly clear all of /var/...
Steve Summit's user avatar
0 votes
1 answer
245 views

Cache mechanisme in kubernetes

I've got the next setup: Proxmox 7.2 CEPH 16.2.9 K3S v1.23.15+k3s1 CEPH CSI v3.7.2 CEPH using as RBD-storage for QEMU images and K8S PVC. When I do disk benchmark in QEMU I've got the next results: ...
chs_voks's user avatar
1 vote
1 answer
2k views

Nginx - No last-modified or Etag response header on HTML

I am facing a rather odd issue with my web server. The server is configured with Ubuntu 20.04, Nginx v1.22.1, PHP 8.0, and MariaDB to host my WordPress website. The issue is, the server is not sending ...
Dhananjay Bhardwaj's user avatar
0 votes
1 answer
740 views

Cached windows domain credentials issue

I need to delete or lock out a single cached domain account on a local pc. If I disable the cached logon domain information I will lockout me from the pc if I am not in the office. Is there a way to ...
solonely's user avatar
0 votes
1 answer
635 views

Mount smb remote storage on debian with local disk caching using FS-Cache for CIFS

I am trying to connect a smb remote storage to my debian server and use the available space on the local disk as a cache using FS-Cache for CIFS. I have already tried the following code but it doesn't ...
dami3n's user avatar
  • 1

1
2 3 4 5
33