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
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
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 ...
-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 ...
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 ...
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 ...
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 ...
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
0answers
17 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 ...
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 ...
2
votes
0answers
50 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 ...
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 ...
1
vote
0answers
35 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 ...
2
votes
1answer
58 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: ...
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 ...
0
votes
1answer
80 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 ...
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 ...
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 ...
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, ...
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 ^(.*)$ ...
-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
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 ...
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 ...
0
votes
0answers
67 views

Squid3 Reverse Proxy - Force Cache and Suppress Version

I have been using pfSense for about 2 years now and I love it. One of my favorite features has come to be Squid2 and Squid3. Right now I am using Squid3 to run both proxy and reverse proxy. There are ...
0
votes
1answer
25 views

in-memory-cache of specific files from NFS

I have some diskless machines and they mount a disk through NFS4. I want the machines to maintain a cache of specific files in their own memory. The machines don't modify the files and only read them ...
1
vote
1answer
64 views

Nginx reverse proxy in nested locations

I'm using Nginx as a reverse proxy for multiple applications in multiple servers and I'm trying to add common cache directives to static files of each application. My original configuration is ...
0
votes
0answers
42 views

Any benefits to proxying from nginx to tomcat behind cloudfront+elb?

Are there any additional benefits to having nginx sit in front of tomcat on our ec2 instances, when those instances are already only serving dynamic requests behind cloudfront and ELB? I'm thinking ...
0
votes
0answers
39 views

Configure client for two apt-cacher servers

I have two apt-cacher-ng servers up and running, but I am wandering how best to configure my clients to use them. The primary reason for having two servers is load balancing, but we would also like ...
0
votes
0answers
51 views

Enable cache headers on Nginx

I'm trying to make cache work on a Nginx which is a proxy for gunicorn or which serves directly static files. I tried to add: location ~* \.(?:ico|css|js|gif|jpe?g|png)$ { root ...
0
votes
0answers
19 views

NFS: settings for a non concurrent environnement

We have a 100% non concurrent access to an NFS share. Each client accesses its own files, separated in directories. So a client will make read and write operations on its own directory, but will never ...
6
votes
0answers
70 views

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

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 ...
0
votes
3answers
157 views

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 ...
0
votes
1answer
15 views

Is it possible to make nginx cache expires at certain time?

So basically what I want to do is make nginx's cache expires at 24:00 everyday. I know I could use tools like nginx-cache-purge or just manually delete cache files on disk, but I prefer to letting ...
3
votes
2answers
77 views

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 ...
-1
votes
1answer
47 views

Control files fetched from upstream when using nginx proxy cache

we have a file sharing site in a local network and we trying to save links bandwidth usage to the max by caching static files in local nodes powered by nginx with caching enabled. Everything works ...
0
votes
2answers
67 views

How would using caching nginx template affect adsense?

I'm considering using the nginx template below for WP sites with adsense on them. Would that cache the adsense ads too and make the clicks invalid? server { listen %ip%:%proxy_port%; server_name ...
0
votes
1answer
40 views

If two videos with the same source stream at the same time will they have separate cache files?

I was resolving an issue on StackOverflow (see my answer too), where I might stream the same video on the same webpage in two separate video elements. I don't really understand web file caching very ...
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
22 views

Is it a good idea to use long max-age and changing urls instead of normal caching approaches [closed]

I'm trying to improve the speed of some websites that I'm serving by setting appropriate caching headers. I've read in some tutorials that it is not a bad idea to have the URI of assets reflect their ...
0
votes
1answer
46 views

Nginx Cache with PHP-FPM

I have the folowing niginx config file: server { listen 80; server_name pajilleros.com www.pajilleros.com; access_log off; location / { root ...
3
votes
1answer
89 views

Why does TTL sometimes re-increment between DNS queries?

I dig xkcd.com, and I get something like this back: ; <<>> DiG 9.9.5-3ubuntu0.1-Ubuntu <<>> xkcd.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: ...
0
votes
0answers
47 views

Accidentally set expires max in http block

Yesterday, I accidentally set max expires option in http block. What should I do to clear client cache ? I'm using nginx as a reverse proxy for my rails server (unicorn), rails has a asset digest at ...
0
votes
2answers
23 views

HyperDuo Not Caching

I have purchased a SATA Controller featuring Marvell HyperDuo. However for some reason I am unable to select the ProgramData folder for Caching. I cannot find any references as to why and have not ...
2
votes
1answer
97 views

Nginx cache not updating

So my coworker set us up a fancy new caching proxy system and then promptly went on vacation. Now I'm getting complaints from our developers/designers that many static resources are being cached for ...