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)

3
votes
0answers
34 views

Adding SSD cache (PCIe) to existing Linux KVM Node with SATA disks

I currently have large KVM nodes utilizing between 8 & 16 RAID10 arrays & hardware raid. We typically provision a single large volume (VM's are backed up off site as well). KVM VM's using LVM ...
0
votes
3answers
1k 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
4 views

SSD's or HDD's in a LANcache? [migrated]

I am building a LANcache for a lanparty that I'm organizing. We have about 80 visitors (pretty small LAN), but our uplink is limited to 100mb/s due to reasons and it's constantly saturated with game ...
0
votes
1answer
121 views

Cloudflare doesn't cache as expected

I'm wondering why Cloulflare would not cache a certain static js file. Given the reuqest: curl -I http://www.testlifeinuk.com/dist/lifeinuk.js the headers returned like: HTTP/1.1 200 OK Date: ...
5
votes
2answers
3k views

How to get Squid to not cache files with certain extensions?

I've found information on how to keep squid from caching domains/IP addresses, however, that's not quite what I want. I'd like to prevent it from caching .jnlp and .jar files. The core problem being ...
0
votes
4answers
869 views

how to set up a cache proxy server for itunes app store

I want to setup a cache proxy server for apple itunes store to accelerate app downloading in a local lan. Situation: Local internet speed is slow and bandwidth is limited, so it'll take sometime to ...
0
votes
1answer
17 views

Nginx FastCGI Caching possible on custom URL's?

I am trying to build a custom caching solution for my website with FastCGI caching. I'm trying to cache only certain URL's that get a boat load of traffic. I know from my logs exactly which URL's ...
0
votes
0answers
22 views

nginx cache always returns MISS

I have 4 upstream server and I want to serve static files. I don't want to cache API calls response. This is what my upstream server returns for a sample CSS file: curl --verbose -X GET ...
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
0answers
18 views

Cloudfront caching issue [closed]

I use CloudFront URL as below. http://[~~.cloudfront.net]/[a.jpg]?[signed url] when "forward query strings" option set to yes, CloudFront will pass the full URL (including query args) to the ...
-3
votes
0answers
16 views

Reducing query cache for mostly INSERT-heavy database? [migrated]

What sort of MySQL query cache should I choose considering the following... Large, rapidly growing database (I got 500,000 rows). UPDATEs practically never happen. SELECTs are rare, but when they do ...
3
votes
0answers
53 views

How and where is file system meta data cached in Linux [migrated]

My earlier question apparently had a wrong premise. I thought file system meta data was cached in the inode and dentry cache, but apparently not. When I do: # time find . > /dev/null real ...
0
votes
0answers
9 views

Apache: Cache Static Files Present in Another Machine

I've the following situation: A machine running on a typical home/office internet connection with a NAS attached (office.example.com). This machine is running Debian and a Apache Web Server. This ...
31
votes
5answers
38k views

Setting expires headers for static content served from nginx

I'm using nginx to server my static content, is there a way that I can set the expires headers for every file that meets a specific rule? For example can I set the expires header for all files that ...
2
votes
1answer
873 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 ...
1
vote
0answers
17 views

Keep file system meta data in cache with vfs_cache_pressure

My Ubuntu Linux (virtual) servers run rdiff-backup daily, which looks at all file meta data to determine what needs to be backed up, slowing it down. It does this every day, even though most files ...
8
votes
5answers
21k views

Is there a way to turn off client browser caching for specific websites?

This is a browser agnostic question but we're testing with IE9. One of the web apps our users visit is being randomly cached and changes aren't showing up when they should. No other site has this ...
0
votes
0answers
12 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
35 views

DNS bind9 : can't see cache

I am using seed Ubuntu 12.04 with two different virtual machines: the first is for a DNS server that runs BIND9 and the second simulate a user/client. In the user machine i configure the primary DNS ...
0
votes
1answer
1k views

htcacheclean doesn't seem to be cleaning the cache

I'm running mod_cache with apache 2 on a fairly high traffic'd site. I've set the htcacheclean to run in demon mode every 10 minutes to keep the cache at 4GB. It's currently at 15GB and doesn't seem ...
2
votes
0answers
51 views

Problems on mounted NFS: 'No such file or directory' but files and directories exist

So we are having a medium-sized NFS4 storage server running CentOS 6.6 exporting an NFS share /storageDat (which is the NFS root, with two RAID volumes bound in there: ./dat1 and ./dat2); Export ...
1
vote
1answer
41 views

Group Policy Caching for Folder Redirection

I recently set up a new file share on a new server for Folder Redirection for a subset of our users. I robocopied the files, applied the policy last week, replacing the old policy, tested with a few ...
0
votes
0answers
19 views

Sometimes for Some users 404 Not Found Nginx + PHP-FPM

Sometimes (Not Always) , I Get Nginx 404 not found message on my site. Unfortunately there are no logs written about it neither in php-fpm or in nginx error logs. Can it be due to caching ? I am ...
1
vote
0answers
27 views

Nginx proxy_cache / Varnish - parallel requests trigger multiple requests to backend?

I am looking for a HTTP reverse proxy that will handle HTTP live streaming use cases in a performant manner. Assume file/fragment sizes up to 4MB with a constant load of client requests for the same ...
0
votes
0answers
16 views

Nginx cache gziped results on reverse proxy

I have been trying to figure out how I could set my reverse proxy to cache gziped results. What I am trying to achieve is following: Client requests for JS/css -> Reverse proxy requests it from ...
2
votes
2answers
490 views

Purging AD Principal from cache

A user in the Active Directory has had a change of his SAM account name, but a web application running IIS still recognizes him under his old SAM Account name. I presume this is because the AD ...
1
vote
1answer
90 views

Nginx proxy cache invalidating request to s3

I have set up a proxy from my application server to a private s3 bucket to cache requests. I was having some trouble with it where s3 was rejecting my download requests (403 forbidden) and after some ...
1
vote
0answers
36 views

How to force a refresh of cached permissions without a restart

We've recently started going through shares replacing named permissions with AD groups (i.e. so that when updating permissions we don't need to worry about the time taken or risks involved in updating ...
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 ...
1
vote
2answers
45 views

Nginx configuration files structure

Where do I put specific domain configuration files on an nginx server? I've seen a lot of conflicting information. Does it belong in the sites-enabled folder? If so, do I put it in the already created ...
2
votes
1answer
59 views

NGINX cache error: conflicts with already declared size 0 in /etc/nginx/nginx.conf

My current nginx for drupal config gives following error. Somehow, I am not able to enable nginx cache. Tried different config but overtime i get the same error. Can anyone help please? nginx: ...
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 ...
2
votes
0answers
39 views

Using database for storing text files and images [closed]

I need to build a image/static file cache which would host maybe few hundred up to thousand static files from 1kb to ~200kb. I'd need super fast reads (I'm using redis, but it's one threaded and I'm ...
0
votes
1answer
1k views

Nginx proxy cache (proxy_pass $request_uri;)

I need to create proxy web using nginx. If I access http://myweb.com/http://www.target.com/ the proxy_pass should be http://www.target.com/ Here is my configuration: location / { proxy_pass ...
0
votes
1answer
83 views

SSD caching using bcache or dm-cache on kernel 2.6.32-042stab104.1

I'm looking to use bcache or dm-cache with the latest OpenVZ kernel (2.6.32-042stab104.1) on CentOS 6. Unfortunately, dm-cache and bcache are part of kernel 3.10, but I know the OpenVZ kernel has a ...
0
votes
1answer
1k 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 ...
6
votes
2answers
3k views

Can you set a minimum linux disk buffer size?

I have a rather old Linux machine with 2GB of ram, no swap, and it's working very well, with the system using every unused piece of memory for caching with great effect. However, when I'm close to ...
0
votes
0answers
92 views

Python libraries slow to load from NFS mount point

Several of our computers are diskless, and they load their Python libraries from an NFS mount point across the network. This means it can take up to three minutes to start up a Python process that ...
1
vote
1answer
74 views

Squid Segmentation Fault?

I'm currently fixing an issue with one of our production servers. The issue is related to squid not able to run properly. When I try to run service squid start/stop, it throws an error: 2015/03/11 ...
1
vote
0answers
29 views

start nginx despite missing upstream

I like to run nginx as a local proxy server, serving stale cache files if the upstream server is unavailable. This works well, except the local machine is restarted, while the internet connection ...
0
votes
0answers
56 views

How to configure .htaccess to cache root along with all other files

For my website, all files are cached except the index.html file. For .htaccess, I have: Options -Indexes RewriteEngine On RewriteCond %{HTTP_HOST} !^www\.mywebsite\.com [NC] RewriteRule ^(.*)$ ...
0
votes
0answers
41 views

Why isn't Lighttpd caching files?

I've installed lighttpd 1.4.33 /not mod_cache patched/ on Ubuntu 14+. I've put .html file with embedded .unity3d on server (unity3d file is somewhere 50+ Mb.) lighttpd.conf do contain mod_expire, ...
-1
votes
1answer
16 views

How to set a cache-control header based on presence of query parameter?

I'm trying to set a header for cache-control on certain resouces where we've used query string parameters to set revision codes... for example: /foo/bar/resource1.js?v20140710 This is from the ...
0
votes
1answer
35 views

How can I call one web service, but not another, in the same folder?

I have two web services, of old school, asmx. Both is in the same sub folder, which have anonymous authentication, in a MVC web application that have windows authentication. When I browse one of them ...
0
votes
1answer
51 views

Enable caching on nginx

I have my own VPS with CentOS 6 and nginx and I want to enable caching. To test it, if it is enabled successfully I use the Google PageSpeed Insight. My problem is that I don't have much experience ...
0
votes
1answer
35 views

High %sys utilization in Nginx cache node

We set up Nginx with Lua (openresty bundle) to be a local caching node to our file sharing server, we seperated files to chunks "50MB each" (by this method) and store them in cache to increase its ...
2
votes
1answer
48 views

Tool for linux file system cache inspection [closed]

I'm looking for a tool to show what portion of a file is in the file system cache. In the past I have used the fincore tool that is part of the linux-ftools package. linux-ftools isn't in any of the ...
1
vote
1answer
628 views

Showing outdated information when using WAMP as local server [duplicate]

I am running WAMP as a local server for the computers in the my network. The problem is that when I try to do any operations to the database from these computers, it seems as if they don't happen, ...
0
votes
0answers
18 views

Cloudfront objects being ejected from edge locations too early?

Cloudfront does not guarantee that it will hold an object in it's edge locations for any duration, however, typically, if I set a Cache-Control:public, max-age=31550000, smax-age=31550000 or a ...
1
vote
0answers
73 views

Transparent data caching in multi-site environment

I need an advice on choice of the right technology for my problem. I have geographically distributed multi-site environment where there is one main site and a number of remote sites. Main site ...