Questions tagged [cache]

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

1588 questions
7
votes
1 answer

Working Nginx fastcgi_cache php-fpm cache and static file caching configuration?

Nginx wiki is very vague with explanation as to how to properly setup nginx with php-fpm with fastcgi_caching for sites which have cookies i.e. wordpress, drupal, vbulletin etc. I downloaded a modified nginx bash shell install script called centmin…
p4guru
  • 963
  • 1
  • 8
  • 16
7
votes
2 answers

ISP grade Proxy

We are a ISP in Africa (bandwidth is expensive, more than 800 USD per Mbit). Instead of investing in more bandwidth I believe it can be worthy to invest on web proxy appliance. I prefer to use mature appliances instead of opensource tools. BlueCoat…
Andre
  • 1,341
  • 4
  • 19
  • 34
7
votes
2 answers

Can enabling a RAID controller's writeback cache harm overall performance?

I have an 8 drive RAID 10 setup connected to an Adaptec 5805Z, running Centos 5.5 and deadline scheduler. A basic dd read test shows 400mb/sec, and a basic dd write test shows about the same. When I run the two simultaneously, I see the read speed…
7
votes
1 answer

How do I monitor memcached evictions?

How do I monitor memcached to know if / how many evictions are occurring, and how much memory is used/free.
philfreo
  • 987
  • 2
  • 9
  • 22
6
votes
1 answer

How do I properly write an "or" statement in an Nginx location block?

I'm using Nginx on CentOS 7. I want to add a cache control header for files that end in a particular extension or taht contain a "/image/" string in the URL. I tried this location / { proxy_pass http://scale; # match the name of upstream…
Dave
  • 185
  • 1
  • 7
  • 20
6
votes
3 answers

Duplicate max-age header

I'm using Apache 2.4.25 to expose a number of back-end services using proxy pass. Apache also sets the cache control headers based on mime type. The current cache configuration looks like this: ExpiresActive on ExpiresDefault "now" ExpiresByType…
6
votes
1 answer

Use cached file mtime as Last-Modified header value

On nginx 1.10.1 I'm proxying an external website (not under my control) to cache images locally. my config is the following: location ~ /cachedimages/(?.*)/(?.*)/image.jpg { resolver 127.0.0.1; proxy_pass …
Manuel
  • 113
  • 1
  • 6
6
votes
1 answer

How do I tune windows server 2012 R2 to handle NTFS file structure with 50 million files?

I have a developer utility that I will use to generate 50 Million files. The directory structure goes four levels deep. The top level contains 16 directories (years 2000-2016), next level - months (1-12), next level - days (1 - 31) and then finally…
D-Klotz
  • 164
  • 1
  • 9
6
votes
1 answer

Are caching proxy servers still be helpful for saving bandwith, now that major services have migrated to https?

I live in Turkey and am part of a group planning to build a WiFi-based ISP to service my home town, as we believe it will be easier to connect all the sub-villages that are not close to our town center wirelessly. During our research about the…
6
votes
1 answer

controlling access while caching video content on-site on client's network

we have many hours of video training courses that we want to deliver on-site to clients with encryption or something to control access Currently , we offer via website (eg like udacity), but some large companies want it on-site due to internet…
AwokeKnowing
  • 133
  • 9
6
votes
2 answers

OpenLDAP proxy cache not retrieving entries

I need to set up a local LDAP proxy cache which connects to our central Active Directory server. OpenLDAP Proxy Cache looks just like the thing. But following the manpages as closely as possible, I am not able to get it working. I am able to proxy…
Martin Melka
  • 179
  • 2
  • 13
6
votes
3 answers

Configuring Windows DNS resolver cache

I asked this question on Stack Overflow several months ago and didn't get any useful answers. Perhaps somebody here has better info. Note that I'm talking about the client DNS resolver cache. This message is not concerned with the Windows DNS…
Jim Mischel
  • 197
  • 2
  • 8
6
votes
0 answers

Is there disk based file system with dedicated memory caching for Linux?

We have two (or more sometimes) applications battling for the OS page cache. In particular ElasticSearch is very dependent on the OS page cache. To the point that cache misses can make or break performance in low latency cases. ES is the only low…
Andrew White
  • 228
  • 2
  • 7
6
votes
4 answers

Caching OpenLDAP credentials for offline use on laptops

Our clients (Ubuntu 14.04) can login with there LDAP login. As soon as they have no network they cannot login with LDAP. Is there a way to cache those passwords and usernames, so that the laptops can work if they don't have an LDAP connection?
Joeri Feyen
  • 71
  • 1
  • 1
  • 5
6
votes
1 answer

Linux: What application is using my ram cache

I am wondering if I can see which application is using my ram buffer and cache. Also is there any time specified in kernel, when data is dropped from cache. My Ram is being full used by buffer and cache and it starts eating swap too. Output of free…
Deven
  • 61
  • 1
  • 4