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)

0
votes
3answers
2k views

Varnish doesn't seems to be doing anything

I would highly appreciate an input on whats going wrong here: Running Magento on Ubuntu 14.04 x64 + Nginx + Mysql + Php5-FPM Please double check my steps so maybe you could help me point what's ...
0
votes
0answers
11 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
1answer
36 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 ...
0
votes
1answer
57 views
+50

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
11 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
11 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 ...
0
votes
0answers
28 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
8 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 ...
4
votes
1answer
3k views

Error headers: ap_headers_output_filter() after putting cache header in htaccess file

Receiving error: [debug] mod_headers.c(663): headers: ap_headers_output_filter() after I included this within the htaccess file: # 6 DAYS <FilesMatch ...
0
votes
1answer
25 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
7 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
2k views

Cache Control Headers with IIS 7.5

I'm trying to wrap my head around client side (web browser) caching and how it works in relation to IIS 7.5 cache control headers. In particular: If we want to force clients to reload cached ...
0
votes
1answer
145 views

Nginx fastcgi_cache hide Set-Cookie when serving from cache

I'm trying to use nginx fastcgi_cache to serve some pages from my site, it worked fine but I found that sessions were being duplicated to all the users because Set-Cookie was cached in the response. ...
0
votes
1answer
45 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 ...
4
votes
1answer
941 views

Nginx, memcached and cakephp: memcached module always misses cache

I've got a simple nginx configuration; server{ servername localhost; root /var/www/webroot; location / { set_md5 $memcached_key $uri; index index.php index.html; try_files $uri ...
2
votes
1answer
43 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 ...
-2
votes
0answers
26 views

Apache2 “caching” my pages, while I don't have cache installed [migrated]

just to know, I am not a system admin (I mean this is not my job), and I try to configure my apache just to produce my projects. My system is Ubuntu 15.04 and I have installed Apache2 Apache/2.4.10 ...
0
votes
0answers
14 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 ...
1
vote
1answer
1k views

Varnish stops listening on port 80 after few hours

I have configured varnish to listen on port 80 and nginx to listen on 8080. After around 24 hours of uptime, my site has been down for 22 hours. I checked in and found varnish isn't listening on port ...
5
votes
2answers
363 views

iozone: 5 concurrent threads random read of 300K blocks does more ops/s than using only one thread, what could be the underlying reason?

The partition is in RAID1 using software RAID. Command line used: iozone -s 190g -r 300k -O -b test_file OPS Mode. Output is in operations per second. ...
0
votes
1answer
17 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 ...
4
votes
2answers
699 views

ratelimit POST requests

I'm running a large WordPress multiuser site. I have a varnish cache in front of the WordPress application server. As it makes no sense to cache POST requests, I am vulnerable to DDoS using lots of ...
1
vote
1answer
1k views

Push content to Apache Traffic Server's Cache

I am trying to use push cache option of Apache Traffic Server(ATS), to push some content into my cache. I read the documentation, and tried to follow it but I have following questions/problems using ...
0
votes
0answers
19 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 ...
1
vote
1answer
2k views

VCL - configuration for Magento and Varnish 3.0.2

I would like to kindly ask if there's someone who can help me configure Varnish for Magento to reach far more hits. My current ratio from varnishstat is: cache_hit=271 cache_miss=926 I'm kindly ...
0
votes
0answers
27 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 ...
0
votes
1answer
32 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
1answer
84 views

How to cache particular file in folder using .htaccess

i tried google and found one solution at 'http://webmasters.stackexchange.com/questions/24881/cache-a-particular-image-using-htaccess' but it cache all the file of folder, i want to cache only ...
2
votes
0answers
43 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 ...
4
votes
2answers
9k views

Debian/Ubuntu is it possible to reinitialize /var/lib/apt/lists and /var/apt/cache after deleting them?

Is it possible to restore the functionality of /var/lib/apt/lists and /var/apt/cache after deleting them or minmizing them in some wa I am trying to shrink down an Ubuntu VM to the smallest size and ...
3
votes
1answer
1k views

flashcache with mdadm and LVM

I am having trouble setting up flashcache on a system with LVM and mdadm, I suspect I am either just missing an obvious step or getting some mapping wrong and hoped someone could point me in the right ...
-1
votes
1answer
20 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 ...
4
votes
3answers
3k views

Does is matter in what order rules are placed in htaccess?

I hope this is a simple YES or NO answer (please specify why) Q1: Does is matter in what order the rules are placed in htaccess? Since they are completely separated items: for example Q2: If yes, am ...
1
vote
3answers
7k views

Squid closing the connection on long HTTP GET requests

When running a database query on a specific external site we use, Squid seems to cut off the connection after a consistent period of time (just over a minute). The query is submitted through a ...
1
vote
1answer
81 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
166 views

Errors when enabling zend_opcache on php-fpm with apache 2.4 proxy

I'm setting up a webserver to host several small sites (mostly wordpress) by putting together php-fpm 5.5.9 and apache 2.4.10 on ubuntu. After reading a good amount of tutorials and post, I decided ...
4
votes
1answer
293 views

Restricting cache-storage for IIS server-side webrequests

We have several old websites running classic asp that invokes a series of HTTP-request to external systems (in this case, geo-ip-lookup). This is just a single request, resulting in a country-code as ...
0
votes
1answer
44 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
57 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
42 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
19 views

WordPress Website is not caching properly

I have 4 WordPress websites on different Centos 6.5 VPS from DigitalOcean & Linode. I followed standard guide to install Nginx (have apache on one website), PHP, PHP-FPM and MySql. I followed this ...
0
votes
0answers
82 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
2answers
3k views

How can I set up Varnish to cache only static content?

I would like to set up Varnish as reverse proxy cache for Apache. How can setup Varnish so that Varnish should serve all static data (jpeg, jpg, png, gif, ico, js, css, txt, pdf, gz, zip, lzma, bz2, ...
0
votes
0answers
78 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
82 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 ...
0
votes
1answer
40 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
33 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
52 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
62 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 ...