Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [cache]

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

0
votes
1answer
15 views

How to recover a cached LVM with cache on ram-disk?

In this article there is a nice recipe for how to use a RAM-disk as cache-device for a classical LVM volume. Assumed you have an elder disk, lots of RAM and no SSD, you can boost disk performance to ...
0
votes
1answer
43 views
+50

CDN: Synchronizing cache across edge machines

I built a cheap CDN for my static website based on nginx’s HTTP caching. Context. Here’s are some parts of my cache configuration: proxy_cache_key "$scheme://$host$uri"; proxy_cache_valid 200 301 ...
0
votes
2answers
36 views

Is there any way to cache or forward https requests to an http proxy using Squid?

I currently have squid setup to use a self-signed certificate for MITM to cache HTTPS requests. This works. If an item is not in the cache I want to request from an online proxy like Crawlera. ...
0
votes
0answers
7 views

PHP caching has slowed server down [closed]

After enabling PHP opcache, on my dedicated Windows 2012 R2, I am experiencing some issues with some websites. At first, everything was running fine. All of the websites on the server sped up ...
1
vote
1answer
32 views

Disable cache for 404 ONLY, in apache 2.2

Is there any method to call RESPONSE_CODE in http.conf file --> check if it is ="404" --> Disable cache for 404 ONLY.. P.S. I am using Apache 2.2. For apache 2.4 I saw some help as below: <...
0
votes
1answer
34 views

MySQL Opened_tables keeps increasing

I am running mysql-5.6.36. Parameter table_open_cache was 2000. I had a huge Opened_tables versus Open_tables ratio (ie. 67988/1950 after 326 days). So I set table_open_cache to 2500. After ...
0
votes
1answer
36 views

Nginx websoket reverse proxy caching

I'm currently using nginx to reverse proxy a websocket based application. Can I enable caching websocket messages to make the application available when service behind is down? I know caching is ...
1
vote
1answer
43 views

Session Resumption caching in Nginx

Some days ago i read a blogpost about session resumption in nginx. In that text the author claims that nginx does not provide the ability to regularly clear the session cache. After "...
0
votes
0answers
9 views

Assign a single resource provider with apache load balancer

I have an apache service with a load balancer using ProxyPass and ProxyPassReverse and I use it to balance the load of a certain website between 2 servers. The problem is there is I have a caching ...
1
vote
0answers
35 views

How is session caching affected by the renewal of a ssl certificate?

I optimized my nginx session cache like this # Optimize session cache ssl_session_cache shared:SSL:40m; ssl_session_timeout 4h; In a few days my Let's Encrypt certificate will be renewed. Does this ...
0
votes
0answers
24 views

Windows high active memory for mapped files on database files

When we read all data from a database we're seeing excess memory usage on our database server. Could not find the memory allocated to any processes but using rammap can see that windows is showing ...
0
votes
0answers
27 views

Browser livarage cache failed on js ,css and png assets on apache

I am trying to enable browser leverage caching for my angular5 application. Files serve with apache Here is the configuration I've added in the vhost <IfModule mod_expires.c> ExpiresActive ...
2
votes
0answers
39 views

Storage spaces direct only using 32gb for each cache device, is this normal?

I have two cache devices and 4 storage devices in two machines that are being mirrored. I ran some powershell to disable clustered storage (s2d) and in disk management I'm left with disks that are ...
0
votes
1answer
22 views

How do I ensuring cache consistency between two Nginx edges

I have a website with nearly 99% of the content served from a Nginx cache (which is also the web server). To give you an idea around how simple the caching mechanism is, this is my cache key ...
0
votes
2answers
69 views

Does it make sense to use both Varnish AND Browser caching?

I'm a bit confused about what the best practice is when using Varnish: I saw many sites where I know they were using Varnish, which had Cache-Control: no-store, no-cache, must-revalidate HTTP headers ...
0
votes
1answer
39 views

How can I clear freebsd caсhe

I used scp to copy a file from another system. After copy has finished I want to clear the cache. My os is FreeBS 9.2. Can I do this and how should I do this? Thanks
0
votes
1answer
53 views

Caching with Redis on a Parse Server

I'm on a 2.6.3 Parse Server and I need to cache the results of queries, to speed things up! I understand that Parse Server offers a Redis adapter. What exactly do I have to do, in order to start ...
0
votes
1answer
50 views

How to configure nginx cache to help Chrome browser

I have an issue where Chrome browsers do not reload updated javascripts. This is because, in Chrome, the request is never sent to the server. The other browsers I support (Firefox, Edge, Safari) ...
0
votes
1answer
15 views

Cant Log Into Wordpress Admin: Nginx Issue - SSL?

For some reason I get a 301 redirect loop when I force SSL_admin. No big deal I simply click the icon to load unsecure elements but now I cant log into the admin area at all. I already tried SERVER ...
0
votes
0answers
82 views

Can't get nginx caching to works over https reverse proxy

As title, i can't get nginx caching to works on mine reverse proxy. Here is mine nginx's server block configuration: proxy_cache_path /opt/cache/nginx/cache2.xxx.net levels=1:2 keys_zone=test_zone:...
1
vote
1answer
45 views

How should I use the new Optum drive?

I have a zpool consisting of 7 2TB HDDs of different vintage in a raidz setup. Currently, there is neither ZIL nor L2ARC device configured. The server has 12GB of RAM and no swap. The different ...
0
votes
0answers
16 views

how much RAM do I need for memcached mod_pagespeed cache with 500k+ images?

I'm considering to move mod_pagespeed cache to an external memcached server. My website has around 500k images (125gb+ of data). These images are not static files, the images are dynamically generated ...
0
votes
0answers
5 views

-/+ buffers/cache getting increased [duplicate]

I have a Linux system in which I am running some load . After 24 hrs of load I can see that there is an increase in the -/+ buffers/cache of 180 MB. -/+ buffers/cache: 3540 12410 Will it be the ...
0
votes
0answers
49 views

trouble with installing fastcgi_cache_purge ubuntu 16.04

So I'm trying to install fastcgi_cache_purge which is supposely a third party module https://github.com/FRiCKLE/ngx_cache_purge from https://www.nginx.com/resources/wiki/modules/ but this would ...
-1
votes
1answer
70 views

W3-total-cache with nginx fastcgi cache at same time?

Can anyone tell me how do these two cache work together? How does nginx know what cache to pull from first? what to ignore? or does it pull both? thanks in advance.
0
votes
1answer
45 views

How to cache DNS TXT lookups with dnsmasq

We use dnsmasq on our Debian servers to cache DNS queries. This works find for A and CNAME queries. However, I notice that dnsmasq does not cache TXT queries. You can see this here: 2018-07-23T08:18:...
0
votes
0answers
20 views

How can I disable caching for the volume in Windows 2012?

When I try to disable disk cache on Windows Server 2012, I get "windows could not change the write-caching setting for the device" error. How do I disable the disk cache?
0
votes
0answers
72 views

Is it worth using Nginx as an SSL/TLS terminator in front of Varnish, rather than just Nginx itself as a cache?

First off, as I understand it, Varnish Cache is only a HTTP accelerator, and thus does not support client-side or server-side (backend) connections over HTTPS, despite the existence of this whitepaper....
0
votes
2answers
54 views

Web server is caching PHP output

I'm using Gandi.net's hosting service and quite recently they started doing something alarming. They are caching the output of PHP programs, apparently to avoid running the PHP code, and sending that ...
0
votes
1answer
86 views

How to add vary custom header

My application is changing the content based on user country code. Please find server request flow diagram. https request -> nginx handle the ssl termination -> varnish -> if not cacheed, get ...
-1
votes
1answer
40 views

No static file is cached

I have set up CloudFlare for my website http://www.funfun.org.cn, the caching level is Standard and The development mode is Disabled. By loading the home page http://www.funfun.org.cn/1/#/home, I ...
0
votes
1answer
331 views

NGINX proxy default cache time with Cache-Control and no expiration

I have caching enabled on an NGINX proxy. As I understand it, as long as I'm not ignoring the Cache-Control header in my proxy configuration (proxy_ignore_headers), the cache time before expiration ...
1
vote
1answer
113 views

Are Kerberos service tickets cached by mount.cifs or kernel?

When mounting a CIFS share using krbr5i and destroying my Kerberos tickets with kdestroy afterwards its still possible to mount other shares on the same server. How is this possible? Doesn't mount....
3
votes
2answers
114 views

Transparent Caching on Windows - expiry time

I tried to use Transparent Caching on Windows for accessing large (100s MB) files from Network drives. First tests are very promising. It can reduce reading all tested files from 3.5s to 0.3s. The ...
0
votes
1answer
57 views

How does “Disable cache” work?

I have a website managed by CloudFlare and its CDN. when we choose Disable cache in Dev Tools of Google Chrome like here, by definition the browser refreshes static files. However, I would like to ...
0
votes
1answer
61 views

Varnish https caching in apache?

Is it possible to cache HTTPS traffic with Varnish in apache ? I have done http caching with varnish and it works fine. But my website is in HTTPS. So can any body please confirm it ? Thank you. :-)...
0
votes
1answer
216 views

403 Forbidden Errors with IIS Performance and Caching Configuration

I have recently moved from a managed server to AWS running Windows 2012 R2 with IIS 8.5. When I first open any website on my server or do a hard refresh, everything seems to be okay - no major ...
2
votes
2answers
160 views

Deleting key in Nginx cache and Backend database in the same request

I am using the open source Nginx as the web server with Proxy_cache. I have a unique usecase of deleting the key in cache as well as pass the request to the backend servers to delete the key in DB ...
0
votes
1answer
127 views

Caching values and changing nameservers

I have just realised my understanding of DNS caching must be at least slightly flawed, and I'm looking to correct my understanding. When a domain name is registered, I understand that the ...
3
votes
3answers
457 views

Debugging Nginx Cache Misses: Hitting high number of MISS despite high proxy valid

My proxy cache path is set to a very high size proxy_cache_path /var/lib/nginx/cache levels=1:2 keys_zone=staticfilecache:180m max_size=700m; and the size used is only sudo du -sh * 14M cache ...
1
vote
0answers
25 views

IIS Renamed Images still show previous contents - Caching issue?

On our website using IIS 8, we are serving done jpgs on an image management screen.The images are on a separate hard drive that is connected in IIS via a virtual folder. All the photos are named with ...
0
votes
2answers
102 views

How to cache some requests based on request rate?

We have some super heavy APIs, say /api/heavy, it will slow down our system when peak time, we did some benchmark, if the simultaneous request count is greater than 200, the system becomes slow, and ...
2
votes
1answer
123 views

Nginx Cache even if it's a 404 response

I use 404 rewriting url: error_page 404 = /url_rewriting.php; I cache images generated with a render script being in a folder /render/: set $no_cache 0; location ~ /render/ { ...
0
votes
0answers
49 views

Order of priority of response headers while deciding to cache a response in nginx

I'm trying to understand how nginx decides if it should cache a response when different response headers like X-Accel-Expires, Expires, Cache-Control, Set-Cookie, Vary are present and finally when ...
0
votes
0answers
73 views

XenServer Unallocated RAM?

What, if anything, does XenServer 7 do with RAM that is NOT allocated to any of the virtual machines? Does it get used for disk cache, like other operating systems? If it's not being used at the Xen ...
0
votes
0answers
245 views

Redis not run with Unix Socket Enable on Centos 7 with NextCloud

I need to activate a redis cache on nextcloud server! To do this I use unix sockets (they should be more powerful)! Then when installed redis and configured in nextcloud at the start of the redis ...
1
vote
0answers
120 views

RAID 10 + bcache + LVM

I'm planning to setup a new RAID 10 array using Linux mdadm with bcache and LVM. The way I think about it is that first I create the RAID 10 array then I use the array as a backing device for bcache ...
4
votes
0answers
124 views

Copy nginx cache between two servers

I have a nginx caching server with at least 2tb of cache files at any moment, i need to migrate this server to another hosting provider but none of my clients can handle that traffic without cache. ...
1
vote
0answers
43 views

Forcing serving stale content with Nginx

I already have a Nginx server configured as caching reverse proxy. I need to configure it so that: it serves stale content disregarding any HTTP headers it received from the origin server (cache-...
2
votes
1answer
247 views

Nginx fastcgi cache HIT vs STALE

I have strange problem with nginx microcache. When nginx serve STALE content, it takes too long. My actual microacha part in config: ... fastcgi_cache biznisto.sk; fastcgi_cache_bypass $skip_cache; ...