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
2answers
327 views

Using CDN like Cloudflare with mod_rewrite to save bandwidth

I know CDNs like Cloudflare save bandwidth by caching static files as images, JS, and CSS files. I have a script that generates images on the fly and its location looks something like this: http://...
1
vote
1answer
24 views

How to keep outlook from creating multiple ost files in exchange cache mode

I am implementing Office 365 on my domain. I have group policy setup to allow for exchanged cache mode and the .ost files are stored on a remote server. The issue i am having is that each terminal ...
0
votes
0answers
14 views

Backup Drives: Should I prefer more cache or a SAS interface?

Background: I am buying new drives for a backup server. I've found a good price on a WD RE drive that has a SAS interface but only 32MB of cache. I have to pay $40 more to get a SATA interface and ...
0
votes
0answers
11 views

CIFS metadata caching?

I know my client is the only one reading and writing a certain SMB share. What can I do beyond cache=loose to enforce caching metadata? I have no control over the server. There's a certain directory ...
2
votes
1answer
20 views

DNS - Difference between scavenge and clear cache?

Server 2012 R2, DNS Service: In DNS Manager, what is the functional difference between "Scavenge Stale Resource Records" and "Clear Cache."?
0
votes
0answers
4 views

Fastcgi cache for ajax/restful based application?

Actually, we are using AngularJS with alot of cacheable REST http call. Also, there are dynamic pages that are not ajax based. Since mysql caching is quite good. I wonder if applying Fastcgi cache ...
0
votes
1answer
45 views

Amazon Web Server EC2 - changes don't seem to stick

We have a Wordpress site hosted on an Amazon Web Services EC2 instance using elastic load balancing. I'm running into a frustrating problem where it seems like every time I refresh the browser, ...
0
votes
1answer
16 views

Squid caching issues

I'd like to create a cron job that will delete our squid cache and restart it. The reason I'm doing this is because when I upload a new build javascript code to our webserver, when I browse our app in ...
0
votes
1answer
24 views

Old file is being downloaded from web server when browsing from LAN

I am facing a new strange problem while downloading files from web server. I am using windows server 2012. I will explain the problem with example. I have a text file (update.txt) in my server, to ...
0
votes
1answer
13 views

is nginx caching working?

I can't tell if nginx is caching properly. I am running a MEAN stack app with nginx in front as a (hopefully) caching reverse proxy. If I use the chrome dev tools networking tab, it has a response ...
3
votes
1answer
32 views

bind9 does not resolve dnssec correctly

I have a problem with my dns server setup. My bind server is mainly a cache-server but does also serve some internal domains. It listens only on my private network and serves only requests from there. ...
0
votes
0answers
10 views

Nginx proxy_cache security for meteor apps

I have a meteor app running multiple instances and use nginx as a load balancer. I would like to make use of the proxy_cache directive so that meteor will only handle the ddp traffic and all html, CS ...
-2
votes
0answers
14 views

Cahce a page in Apache

I need help with how to cache a page that have the string "Cache-Control: public" in the header. I do not see any specific directive in the documentation on how to do this. I am thinking I have to ...
0
votes
1answer
32 views

Setting a different cache header per site-section in nginx

For different website sections we use different caching headers. For example: the /wp-admin section shouldn't be cached at all, and the /blog section only for 4 hours instead of the default 2 days. ...
1
vote
1answer
47 views

Varnish not working with last-modified

I'm new to Varnish and to reverse proxies in general. I'm testing Varnish in an application that works like a blog where I have a page with an "updated_at" that changes once the page is updated. As a ...
0
votes
0answers
28 views

Microcaching with nginx reverse proxy for gunicorn upstream webserver (Django application)

I need help in setting up a microcaching config for my nginx reverse proxy server. I have rudimentary webserver knowledge - enough to get me started on a vanilla setup (with quite a few missteps!). So ...
0
votes
0answers
19 views

Caching system on each host on a local network to improve file access

I'm in a team where we work on different projects located on a file server. Each project is in a specific folder. Here the network architecture we use today: The problem is that some person are ...
0
votes
0answers
16 views

Apache: browser caching not working

I'm trying to use mod_expires and mod_headers to enable browser caching for my site. I have this in my VirtualHost: <FilesMatch ".(gif|jpg|jpeg|png|ico|swf|js|css|pdf)$"> ...
0
votes
2answers
49 views

Handling caching with NGINX when cookies are being set by the server

I've had very good performance results using NGINX microcaching. However, I'm still not sure how to best handle server responses that have the Set-Cookie header. Can responses from the origin ...
-1
votes
1answer
51 views

The cpu L1/L2/L3 cache see in kvm guest is really matter?

[root@centos7 opt]# cat /etc/redhat-release CentOS Linux release 7.2.1511 (Core) [root@centos7 opt]# lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: ...
0
votes
0answers
35 views

NGINX rewrite dynamic url

I configure NGINX proxy cache for Atlassian Confluence And i faced a problem of caching the edited pages Some time after editing the pages do not show the changes(cache TTL) I decided to force the ...
0
votes
0answers
20 views

Magento Varnish cache warming with https (i.e. ssl)

I'm running Magento 1.9 on Ubuntu 14.04.4 x64, with a NGINX -> Varnish -> Apache setup and am using SSL everywhere. Everything works fine except when I try to warm the cache. I'm using the ...
1
vote
0answers
20 views

On multiple request to Squid, send a single request to a backend and queue other requests on miss

I would like to protect a backend server by having Squid send a single request to a the server when there is a cache miss for a resource. During the fetching, other requests should be put on hold ...
0
votes
0answers
122 views

nginx proxy cache mp4 streaming

Sorry for my question, the schema like this: there are upstream which is a IIS server where locates video files. my nginx is an proxy caching server, I need to cache mp4 file when client starts ...
0
votes
1answer
37 views

nginx Rewrite for CImage Cache

I'm setting up a script (http://dbwebb.se/opensource/cimage) to do some image processing and I'd like to cache the resulting image output. I have that part working fine. The problem I'm running into ...
1
vote
0answers
16 views

BIND cache dump file format parsing

I'm trying to analyze the contents of BIND's cache by looking into dump files, the ones generated by rndc dumpdb -cachedb. ; ; Start view _default ; ; ; Cache dump of view '_default' (cache _default) ...
0
votes
0answers
39 views

Nginx reverse proxy with two caches and one origin (OPENWRT)

I have two raspberry pi and one origin server. Both rasp can communicate between them in an ad-hoc network. Both rasp have also another radio for clients/consumers join in AP mode. I got this nginx....
-1
votes
1answer
35 views

Chrome not accepting HTTP/2 Pushed Content

I've been toying with HTTP/2 Server Push using Apache 2.4.20 on Ubuntu 14.04. For some basic examples, like pushing an image to a test webpage with only raw html and 2 img tags, it works great, the ...
2
votes
1answer
45 views

possible to see remaining DNS negative cache for domain?

For normal DNS lookups, one can use Dig to get an answer including the remaining TTL for a DNS record. If that answer is from a cache, the TTL will "count down" until the next authoritative query, and ...
1
vote
1answer
46 views

Inconsistent cache and expires headers (pragma:nocache)

I was trying to get my Apache Server (v2.4.7) to respond to an If-Modified-Since header sent by browsers and spiders like Google. I found this on a recommendation on Google Webmaster. I never knew ...
0
votes
0answers
192 views

Magento2 Varnish + Nginx (SSL not caching)

I move the question on serverfault instead of Magento (https://magento.stackexchange.com/questions/117075/m2-varnish-nginx-ssl-not-caching) since I consider this topic more on server side ...
1
vote
1answer
33 views

Varnish Purge - Hard Refresh on Browser

We're using varnish to proxy/cache content on 2 web servers running drupal. With that said, everything seems to be up and in order, pages are being cached, drupal is able to make the purge request and ...
0
votes
0answers
28 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
35 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
42 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
62 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
307 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
27 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
235 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
95 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
233 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
30 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
164 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 Office)====WAN====...
1
vote
0answers
89 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
140 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
65 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
2k 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
1k 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 ...