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

learn more… | top users | synonyms (1)

1
vote
1answer
61 views

nscd works when strace is attaching to the process

I have a server where I am running nslcd to query an AD server, and use it for authorization, and this is working as expected. Now, I introduced nscd to reduce the load on the AD servers. The results ...
1
vote
0answers
155 views

Symfony No Access to Cache - Red Hat 7

I'm running amazon EC2 VPC, normaly use Centos and I have no problem with it, but I have tried Red Hat Enterprise Linux Server release 7.1, and I have installed everything from scratch. I'm using ...
-1
votes
2answers
97 views

Varnish/Traffic-Server https caching support

I know that Varnish does not cache's https connections. Does apache traffic server caches https? If no, is there a way to configure apache + Varnish + wordpress to cache https?
0
votes
1answer
58 views

Is the LRU cache expunge policy of nginx persistent across reboots?

In the doc it says" max sets the maximum number of elements in the cache; on cache overflow the least recently used (LRU) elements are removed; Is it persistent across reboots of nginx or the ...
0
votes
0answers
59 views

Odd Nginx issue displaying latest version of site

We're running Nginx 1.6.2 and setup as a load balancer (using proxy) along with our backend servers. Noticed the other day, when I make updates on backend servers the changes are NOT visible to web ...
2
votes
1answer
60 views

Is it possible to make nginx load balance application and cache servers in “parallel”?

I just read this Digital Ocean article and was wondering if the topology in the final example can be implemented with nginx. I'm interested in how the load balancer handles the two dedicated cache ...
0
votes
0answers
130 views

How to get Squid to completely cache certain web pages so that they are available offline?

Note that I said web pages, not sites. I'm testing the Squid server with the default configuration settings. My browser is Iceweasel 31.4.0 with the following proxy settings HTTP Proxy: 127.0.0.1 ...
3
votes
0answers
202 views

Varnish cache objects expiring while in stale-while-revalidate grace period

I have added Varnish 4.0 to a CentOS 6 server running cPanel to cache a website I have developed. I am trying to implement stale-while-revalidate to ensure that all users are served a cached version ...
0
votes
0answers
102 views

Setting up caching with Apache for Tomcat REST API

I have a Tomcat Web Application which only provides an REST API and nothing else. Since some of the provided services generate XML responses that have a size of up to 5MB I'd like them to be cached. ...
0
votes
0answers
19 views

What is difference between Microsoft Application Request Routing vs Application Cache vs Window Azure Cache Management

What is difference between Microsoft Application Request Routing vs Application Cache (Asp.net) vs Window Azure Cache Management in the context of Asp.net application.
0
votes
0answers
83 views

Limit negative cache timeout on dns bind 9? (dig +trace works, otherwise couple seconds delay & timeout)

I've experienced an issue where dig a.example.com (which uses local BIND 9.2.4) fails for a particular A record. connection timed out; no servers could be reached after a couple seconds delay. The ...
0
votes
0answers
393 views

SharePoint ULS logs HTTP 304 Not Modified responses with errors - by design?

We've noticed a correlation between HTTP 304 responses to requests for SharePoint Style Library assets and ULS error-like messages in the same correlation such as: Event ID ab1a9 Failed to get ...
0
votes
0answers
46 views

Different caches based on cookie for same URL on Varnish

I have a PHP code that returns different output based on a request cookie value. When Varnish is disabled all works great, but with Varnish the cached page is one only and doesn't respect the ...
0
votes
0answers
64 views

cached response always buffered on disk nginx

I'm using nginx as reverse proxy, and it also use cache (proxy_cache) and buffering (proxy_buffering) at the same time. I've set proxy_buffers to really high value (proxy_buffers 256 64k;) but nginx ...
1
vote
1answer
112 views

How to select the best parent server automatically?

I have configured a squid proxy server which has many parent servers. I have distributed the load using round-robin but I don't like it. Most of the time only one or two servers are working out of 5.I ...
0
votes
0answers
86 views

How to troubleshoot an invalid cached response

I've a Google Cloud Engine instance with Suse Linux 13.2 with original network config and without any configured proxy. And I've a problem with an invalid CACHED response I receive from a server. ...
0
votes
0answers
25 views

How can I configure Varnish (and Nginx, if possible) to use a dynamic cache key?

Some of my clients use Varnish for caching on their sites, while others rely on Nginx. Due to the fact that their sites must be highly dynamic, yet quick to load, I need to configure both systems ...
0
votes
1answer
108 views

Redis memory usage impact on performance

While performing health checks of a Redis 2.8.19 setup running on an 30GB Ubuntu Server 14.04 LTS, I noticed that Linux memory usage was split as follows: Used memory : 10GB Cached Memory : 10GB ...
1
vote
0answers
30 views

dmcache - is removing cache device without suspending safe?

I'm using plain dmcache for SSD cache - unmount procedure goes this way: umount fs suspend cache device remove cache device close lvm close LUKS shutdown However sometimes dmsetup doesn't allow me ...
0
votes
1answer
91 views

nginx different backends static files cache

I have 3 servers in my test environment: Linux running nginx Win running IIS with ASP app Linux Running Apache with PHP. I'm trying to setup static files caches. Servers 2 and 3 have absolutely ...
2
votes
1answer
84 views

Force browser to empty DNS cache

So I migrated a mediawiki site to a new Server. The old one is still up but the database is locked and I merge the new Content with rsync and mysqldump every 15 min. So we can read the content from ...
0
votes
0answers
50 views

OOM Killer when tcpdump is run in system with low memory

I am working on an embedded system with limited memory. Here is the dump from my vmstat: procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu----- r b swpd free buff ...
0
votes
1answer
64 views

Nginx - Cached Welcome page on domain

I have an interesting issue. So I installed nginx to try it out and now I'm regretting it. The initial setup wasn't bad, but once I removed nginx and rebuilt the server (it was a clean install to ...
0
votes
0answers
32 views

Is it possible to make apt-cacher not cache specific repositories

We have a environment currently setup with Apt-Cacher and it is working great. I am in the process of making a local Debian repository for custom packages that we crate in house. I can serve the ...
0
votes
0answers
45 views

Nginx fails to load static after putting caching configuration

I am trying to implement leverage browser caching for nginx. But when i insert the code inside conf file static files are not served by nginx showing 403 permission denied error. This is my conf file ...
-1
votes
1answer
24 views

Do unique GET variables in a URI invalidate the HTTP cache, even if it hasn't expired yet?

Let's say cachedfile.js expires in 1 year from now, according to the HTTP 1.1 expires header. Will these URI's both be cached seperately in modern browsers? Request 1 cachedfile.js?var=1 Request 2 ...
1
vote
1answer
426 views

Two separate PHP-FPM sites seem to be using the same code?

I have two websites with two codebases, yet when I change one codebase, I see the change in both. I have two checkouts of the same website. They are set up to use PHP-FPM through Apache2 with ...
0
votes
1answer
110 views

How to turn standart linux commands to nocache mode?

There is a way to run commands in linux without caching the result, i.e: nocache cat big_file.txt Is there is a way to make this nocache mode as auto mode? Something like a global setting. The ...
0
votes
1answer
176 views

nginx reverse http proxy not caching php-generated images

I'm testing creating a cache in nginx and have it working great under both directories I have set up except the following: When I try to cache a php-generated image, it simply acts as a proxy to my ...
0
votes
0answers
45 views

Save cache folder on seperate partition with superfast filesystem?

I'm reading about disks, partitions, filesystems, recovery. I have a lack of knowledge about them. To learn things I mentally model abstract situations. So, imagine... I have the ubuntu server with ...
0
votes
0answers
262 views

Setting proxy_cache_bypass on NGINX only for HTML Content

We are currently using proxy_cache_bypass directive on NGINX to bypass caching when a cookie is set. This is our code: proxy_cache_bypass $cookie_user; However, we only want the server to bypass ...
0
votes
1answer
115 views

Serving SVG as GZIP does not cache it in subsequent requests

OS: Ubuntu 14.04 Apache: 2.4.12 (using PPA) - mod_expires, mod_headers I am using GZIP for all SVG files. It works well with the following statement in a configuration file (not .htaccess) AddType ...
0
votes
0answers
152 views

HTML, CSS, JS files not getting refreshed on Apache Server

I have an Amazon EC2 AMI instance. I had Apache/2.4.12 (Amazon) installed and I've put my AngularJS and related js files under /var/www/html. I have made a few changed to my HTML, CSS and ...
1
vote
1answer
209 views

How can I directly read data from a file in Linux without using the filesystem cache?

I have shared storage which is mounted (read-only) on SERVER1, and mounted (read-write) on SERVER2. SERVER2 is writing data to a file. SERVER1 is reading data from that file. The file poling is ...
1
vote
1answer
294 views

How to transparently cache git clone?

I would like to offer a continuous integration service (I'm planning to use hudson, but the solution should work for others as well) with a web interface where a user will define a SCM URL (e.g. a git ...
1
vote
0answers
74 views

slabtop command doesn't work

I've inherited Sys Admin duties on webserver and I'm a bit of out my element, but learning as I go. My newest issue is all the of the ram has been gobbled up and I'm not sure where it has gone. free ...
0
votes
0answers
5 views

What cache control headers will prevent revalidation? [duplicate]

I'm trying to set cache control headers on a /static/ directory such that browsers will use a cached copy of the file without revalidating it. Links to files in this directory include the timestamp ...
0
votes
1answer
331 views

Nginx Error 500 page no-cache

This doesn't make much sense, but it seems like when nginx serves up an error 500, it sends along a header that the client shouldn't check for new content the next time it connects. I can get around ...
0
votes
1answer
1k views

max-age=0 sent by browsers despite headers modified everywhere

I have a headers/cache issue in my lamp [centos] website. Config: [root@localhost httpd]# httpd -v Server version: Apache/2.2.23 (Unix) Server built: Nov 25 2012 15:03:00 [root@localhost httpd]# ...
0
votes
1answer
30 views

Varnish 4 Ignoring Ban List

I am attempting to manage cache invalidation by using cache tags in a header field called X-Cache-Tags. The relevant headers from a typical response look like this: Age:218 Cache-Control:public, ...
0
votes
0answers
105 views

Django cache per request

I tried to use cache_page decorator in my view (developed in Django of course). But I think it works not like I want to. I thought, that this works like a CDN - One user execute a query and than other ...
0
votes
1answer
123 views

Write cache settings not working

I am using Debian 8.0 x64 with 72 GB of RAM with 4 drives configured as software RAID 0. Linux s1 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1 (2015-05-24) x86_64 GNU/Linux I tried setting dirty ...
0
votes
1answer
36 views

If mod_expires is used in .htaccess will modified files be downloaded by the client

I'm trying to employ caching to speed up the response time of a website. Most of the documentation I have read suggests setting expiration to +1 month from time of access as follows: ExpiresActive On ...
2
votes
0answers
101 views

what is the the difference between all the NSS caching daemons? [closed]

I would like to see a comparison between nscd (part of glibc), unscd, nsscache, sssd and nss-pam-ldapd. Those are all the alternatives to nscd that i could find in Debian... Our setup is that we ...
0
votes
1answer
17 views

Caching a package mirror

I would like to provide a cache for a package mirror. aka you try to pull down a file from the cache node and if it doesn't have it locally, it will pull it down from the mirror and cache it for X ...
0
votes
2answers
725 views

Building a high performance file server using SSD as cache

I want to build a file server that serves ~50 TB of content to its users. To maximize the server's throughput, I'm going to utilize the follow scenario. 50 TB of HDD storage. All of the static files ...
0
votes
2answers
278 views

Does Linux, Apache HTTPD or PHP cache frequently / recently accessed files?

Let's say we have a simple index.php file that goes: <?php inclde('file1.php'); inclde('file2.php'); inclde('file3.php'); Presumably, this will ultimately result in three additional ...
0
votes
0answers
26 views

Apache returning cached version when modified from Windows

We are running Windows 8 with VirtualBox running Centos with Apache. We have a Windows path mounted in the VM so we can edit content and when we save it in a Windows application the change doesn't ...
2
votes
3answers
4k views

Does CURL cache requests?

This is a pretty long question, so bear with me. I wanted to stress my Akamai Server logged in from an AWS instance. So, I started running ab benchmark. However, they seemed ridiculously fast to ...
-2
votes
2answers
1k views

PHP opcache. 100% hits, 100% used memory [closed]

My PHP OPcache hits 100% Memory Usage General info Zend OPcache 7.0.4-dev PHP 5.5.23-1+deb.sury.org~trusty+2 Server Software nginx/1.6.2 Here are my Cache Settings: zend_extension=opcache.so ...