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
votes
0answers
24 views

how to fill the cpu cache forcefully

Is there a simple (bash based) way to forcefully fill up the cpu cache on linux with some dummy contents? I am comparing the timings of two programs and would need to make sure the cache content is ...
0
votes
0answers
16 views

CloudFront Object Caching: “Use Origin Cache Headers” vs “Customize”

When creating a CloudFront Distribution, I can choose "Object Caching" - either "Use Origin Cache Headers" or "Customize". "Customize" allows me to set Minimum, Maximum and Default TTL values. Does ...
1
vote
1answer
23 views

How is Cache-Control: max-age affected by intermediate caching?

I am currently serving an HTML page to users with a Cache-Control: max-age=600 header. I believe this allows the users' browsers to cache the page for a maximum of 10 minutes. I am considering adding ...
2
votes
1answer
33 views

Troubleshooting nginx caching for static assets

I have a Django website where users post images for the whole community to see (kind of like 9gag). I use Azure storage to save and serve the images. The webserver is an nginx reverse proxy + ...
1
vote
1answer
30 views

Squid3 doesnt serve youtube content from cache [closed]

I am trying to cache a youtube video (served from .googlevideo.com/) on squid proxy and want to ensure that when I access youtube video/audio from the same url again, it will be served from squid ...
0
votes
0answers
18 views

How to manage high traffic on news portal(cache)? [duplicate]

I have some questions regarding to my news portal, where I have some issues with high traffic. The issues is: I have daily about 50 k UU, and sometimes I have shots about 20 k UU in one time from ...
7
votes
1answer
302 views

Is there a standard time duration before DNS caches are cleared?

Is there a standard time duration before DNS caches are cleared, so that if a distracted operator or stuck key turns a TTL of 86400 into 864000000 you don't end up with an authoritative resource ...
1
vote
1answer
17 views

How to Proxies handle ETags?

I use ETags to improve performance. I decided to use an Etag that is valid on Server, Client and Proxy. But how is this handled if the proxy has saved the ETag? Does the Proxy still ask the website ...
2
votes
0answers
27 views

Protect cached content in apache

I'm facing an issue where I have some cached contents in a disk and I want to protect it with a token url. I can protect my files via htaccess, once they are not cached (direct access), but now I ...
3
votes
1answer
85 views

Cache-Control not working in AWS S3 object Metadata

Follow-up to my original question: No Cache-Control Header for files from AWS CloudFront with S3 Origin Im serving up static files using AWS CloudFront with AWS S3 as the origin. I tried to set the ...
0
votes
1answer
50 views

nginx fastcgi caching - multiple different expire times

I need to set up NGINX so that different locations would have different expire times for caching and some would have caching disabled. This is my current setup: fastcgi_cache_path /etc/nginx/cache ...
1
vote
1answer
55 views

No Cache-Control Header for files from AWS CloudFront with S3 Origin

We just migrated to Amazon AWS. We currently have an EC2 instance that's working well. It's running Nginx in front and Apache in the back-end. That's running well also. All sites are launched properly ...
0
votes
1answer
24 views

DRBD - Why read-only on secondary resource would cause cache coherency issue

According to the DRBD9 documentation (https://www.drbd.org/en/doc/users-guide-90/s-resource-roles), reading the device would cause cache coherency issue but i'm not sure about why. (I know i can't ...
-1
votes
1answer
68 views

Samba file sharing cache

Does Samba have any option for file caching over WAN (connected via VPN)? I've looked into WAN optimization, but I want something simple to setup. Setup: Linux File Server(Main ...
1
vote
0answers
73 views

nginx x-cache status flipping between hit and expired on WordPress site (test php file OK)

I have an nginx cache setup for a WordPress site, and it is flipping between nginx header status x-cache: HIT and x-cache: EXPIRED seemingly randomly: C:\Users\curl-7.48>curl -I http://example.com ...
1
vote
0answers
84 views

Squid takes a long time to get a response for HTTP requests, never hit neighbor cache

I am trying to install Squid in a sibling model by following these instructions. But when the client executes HTTP request it takes a long time to get response from the server. System model: ...
0
votes
0answers
41 views

Cant cache REST api by nginx

I use django through uwsgi for my API. I try this config upstream django_dev { ...
0
votes
1answer
1k views

NGINX - Cannot set Cache-control for redirected .js files (with alias + rewrite)

I have successfully setup an nginx server which uses both alias + rewrite as in the below configuration. Everything works except that javascript files are not enforced browser caching. Server url: ...
1
vote
1answer
655 views

Nginx Try_Files to create local content cache?

I'm trying to either serve images locally, or from a share (locally refreshed overnight). My nginx site is served across 2 or more servers, to keep all the content in sync across each server, I'm ...
1
vote
0answers
22 views

Hybrid Cloud Backup solution [closed]

I am looking like this solution. How can I do this? My side there will a central server This server as a local backup server. It will act as local file cache server. This server will encrypt all ...
0
votes
0answers
25 views

I want to enable e-tag on a caching nginx server

I have a reverse proxy caching nginx server which I want to serve files with an e-tag. I've read that one cannot, since there's no way for nginx to know if the back-end updated their files. However, ...
1
vote
2answers
31 views

Nginx serving static PHP files

Whilst trying to implement some caching for a slow Wordpress site - I've enabled cachig at NGINX level. However, it seems, that it's holding on to a rendered file, and doesn't want to let go. It's ...
0
votes
0answers
52 views

Squid refuses to cache everything

Squid seems to randomly decide what to cache. http://1.vgc.no/drfront/images/2016/03/14/c=508,28,442,442;w=316;h=316;268506.jpg <- Is a perfect example of a file that doesn't get cached. It's on ...
0
votes
0answers
39 views

nginx 1.8.1 is not caching with Vary Accept header

I have a strange nginx caching behavior. There are 2 responses. The first one had stopped caching when I updated server from 1.6 to 1.8.1, another one is caching like before. The first one (broken) ...
0
votes
0answers
44 views

DirectAdmin ssl cache lock

strange log came out from web error log: (43)Identifier removed: AH02026: Failed to acquire SSL session cache lock (43)Identifier removed: AH02026: Failed to acquire SSL session cache lock ...
0
votes
1answer
16 views

Storage Spaces cache in RAID 1

I have 2 x Intel S3700 200GB. I want to employ ReFS and Storage Spaces, Mirroring to the drive, behaving like RAID 1. That's all i need, not more. Now i plan to use this as database. Normally in RAID ...
3
votes
1answer
49 views

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

Windows Share: Wrong content?

I like it to use Linux for many things (e.g. programming), but i also need Windows many times. So i have a virtual Ubuntu and a native Window. To share data i have installed samba on Linux (Ubuntu) ...
0
votes
0answers
77 views

nginx add expires and cache headers to response only if not set

I've got nginx set up to serve some static files and content from a node server. I want to set up caching headers for the content coming from the upstream server, but I also want the upstream server ...
1
vote
0answers
38 views

Why ZFS ARC hit rate is higher than real performance hit?

We've got Debian Wheezy host with ZFS on Linux with in. It is used only for serving large files over http. User activity is mostly characterized by a lot of random read. We've noticed that ~95% ARC ...
0
votes
0answers
47 views

Un-chunking chunked response for varnish

I have a database query tool that returns data with Transfer-encoding: chunked. I'd like to use existing varnish infrastructure to cache responses from this tool, but varnish refuses to cache chunked ...
1
vote
0answers
51 views

Nginx setting fastcgi_cache_valid

I have been trying to set 2 different cache times. I need a microcache for single request. And all other requests should be cached for longer time. All requests must go to location block, so that ...
1
vote
0answers
97 views

Which are possible hierarchies for bcache, mdadm RAID and LVM?

Assuming I want to use bcache for caching, mdadm for RAID (1) and LVM for partitioning (and that I don't care that there might be performance drawbacks due to many levels of I/O and device management ...
0
votes
1answer
67 views

Varnish 4.1: Is this the proper VCL code to use default localhost unless it's unhealthy, then fallback to director?

I just wanted to make sure this is the most ideal way to accomplish this. Here's the setup: Basically we have 3 servers "balanced" by DNS Round Robin. Varnish is configured on each server with a ...
0
votes
0answers
11 views

Redis retention - disk and memory

I am developing an application which is using Redis. It's using entries from 5 minutes, accumulating them, and sending the results somewhere. Can I configure Redis to keep 3 GB of the entries it ...
0
votes
2answers
33 views

varnish cache working good but creates new cache for every visitor

I have installed varnish cache in my server Caching and its TTL working good But the system create new cache object and age for every visitor How can I config the system to create one cache object ...
4
votes
1answer
123 views

Does the SOA serial have importance when it comes to ISP caching nameservers?

Lets say I forget to update the SOA serial when updating the zonefile. Of course, this means any slaves will not sync to the master because it thinks no change has been done. The question I have, is, ...
0
votes
0answers
52 views

How to disable cache of Apache Front of my Tomcat?

I put it at the end of httpd.conf and nothing changed: #Initialize mod_rewrite RewriteEngine On <FilesMatch "\.(html|htm|js|css)$"> FileETag None <ifModule mod_headers.c> Header unset ...
6
votes
1answer
59 views

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 ...
1
vote
2answers
69 views

nginx not caching wordpress site

I have a website set up to use nginx caching. Here are the details: fastcgi_cache_path /etc/nginx/cache levels=1:2 keys_zone=MYAPP:100m inactive=60m; fastcgi_cache_key ...
0
votes
0answers
69 views

Hardware raid, LVM and KVM cache policy

I have a question about right cache policy for KVM using LVM and hardware raid-controller. So from the bottom: 1. We have LSI RAID controller 9260, 512Mb cache and BBU. Later we also will have ...
0
votes
1answer
36 views

Varnish configuration advise

I am having a few issues with my VPS. Something happened on it which my hosts are unsure of and so I am having to go through an ordeal to try and reconfigure a few things. One of those things are ...
1
vote
2answers
62 views

Nginx cache invalidation only works if invoked from the same domain

I am using FRiCKLE's ngx_cache_purge module to invalidate proxy caches. I ran into a problem of not being able to purge caches when accessing the invalidation url with a different HOST part of url ...
1
vote
1answer
77 views

Is there a way to limit the “buffer” memory use in Linux?

I'd like to limit a Linux server's assignment of RAM into the disk cache buffer and instead leave it idle. (CentOS 5 if it matters). I know it's ideal to be using every drop of physical RAM available ...
5
votes
2answers
303 views

nginx use proxy cache if backend is down

I need to nginx proxy use cache if backend server down: this is my configuration. but seems be nginx use cache without check backend server. http { # ... proxy_set_header Host $host; ...
0
votes
0answers
28 views

nginx proxy_cache store callback - store cache keys in mysql

I have multiple servers with nginx installed on them. We would like to cache large static content (> 1gb) on our nginx servers which is fetched from a remote storage server. We are trying to set up a ...
-1
votes
1answer
53 views

404 header error instead of the correct 200

I have just updated a (dynamic) website by sftp/ssh and all the new pages have been considered as 404 error not found. Actually, all the pages, including the old pages which was overwritten. Also, ...
3
votes
1answer
199 views

Reduce writes from a specific application?

I'm logging the output of a command with command | tee file This causes tee to actually write to the disk every second or so. I'd like to reduce the frequency of the writes, by caching the output ...
1
vote
0answers
32 views

CloudFlare not caching vBulletin php page serving image content

I have signed up with CloudFlare and while it seems to work for some pages I cannot get a rule to work correctly with php pages serving images. The page in question is: ...
0
votes
0answers
24 views

IIS Image Cache Directives Cause 500.19 Error

I wanted to add cache header to browser on IIS. I found this: http://stackoverflow.com/questions/10653549/iis-7-5-and-images-not-being-cached <staticContent> <clientCache ...