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
3 views

nginx microcaching + proxy_pass

I'm currently following those two examples (here and here) to dig into nginx microcaching From what I can understand : two webservers are running, the front one proxying to the real one. Then I ...
3
votes
2answers
8k 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 ...
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 ...
-1
votes
1answer
18 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
2k 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 ...
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 ...
-1
votes
0answers
9 views

Can not delete properly ARP Table

I have the feeling that I can not delete completely my ARP table on my Mac with the last OS Yosemite. Here is what I do : Device A with IP "IP-A" is connected to the LAN with wifi I ping "IP-A" I ...
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
46 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
151 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 ...
3
votes
1answer
927 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 ...
4
votes
1answer
290 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
42 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 ...
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 ...
0
votes
1answer
42 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
38 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
18 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
49 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
0answers
14 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
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
45 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
64 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
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 ...
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
1answer
26 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
27 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
28 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
35 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 ...
0
votes
1answer
14 views

Varnish 4 Ignoring Ban List

I am attempting to manage cache invalidation by using cache tags in a header field called X-Cache-Tags. The relevant headers from a typical response look like this: Age:218 Cache-Control:public, ...
0
votes
0answers
21 views

Django cache per request

I tried to use cache_page decorator in my view (developed in Django of course). But I think it works not like I want to. I thought, that this works like a CDN - One user execute a query and than other ...
-2
votes
2answers
165 views

PHP opcache. 100% hits, 100% used memory [closed]

My PHP OPcache hits 100% Memory Usage General info Zend OPcache 7.0.4-dev PHP 5.5.23-1+deb.sury.org~trusty+2 Server Software nginx/1.6.2 Here are my Cache Settings: zend_extension=opcache.so ...
0
votes
0answers
31 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 ...
0
votes
1answer
16 views

If mod_expires is used in .htaccess will modified files be downloaded by the client

I'm trying to employ caching to speed up the response time of a website. Most of the documentation I have read suggests setting expiration to +1 month from time of access as follows: ExpiresActive On ...
1
vote
0answers
23 views

what is the the difference between all the NSS caching daemons?

I would like to see a comparison between nscd, 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 have a bunch of ...
0
votes
1answer
14 views

Caching a package mirror

I would like to provide a cache for a package mirror. aka you try to pull down a file from the cache node and if it doesn't have it locally, it will pull it down from the mirror and cache it for X ...
1
vote
5answers
1k 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 ...
2
votes
3answers
802 views

How to make an existing caching Nginx proxy use another proxy to bypass a firewall?

My question is about using Nginx as a proxy behind another proxy. (Somewhat confusing.) I want to set up Nginx so it acts as a caching proxy server to an npm mirror. Here is the link: ...
0
votes
2answers
51 views

Does Linux, Apache HTTPD or PHP cache frequently / recently accessed files?

Let's say we have a simple index.php file that goes: <?php inclde('file1.php'); inclde('file2.php'); inclde('file3.php'); Presumably, this will ultimately result in three additional ...
0
votes
2answers
60 views

Building a high performance file server using SSD as cache

I want to build a file server that serves ~50 TB of content to its users. To maximize the server's throughput, I'm going to utilize the follow scenario. 50 TB of HDD storage. All of the static files ...
0
votes
0answers
19 views

Apache returning cached version when modified from Windows

We are running Windows 8 with VirtualBox running Centos with Apache. We have a Windows path mounted in the VM so we can edit content and when we save it in a Windows application the change doesn't ...
0
votes
1answer
87 views

Does CURL cache requests?

This is a pretty long question, so bear with me. I wanted to stress my Akamai Server logged in from an AWS instance. So, I started running ab benchmark. However, they seemed ridiculously fast to ...
1
vote
1answer
651 views

HowTo turnoff Apache2 cache on Ubuntu?

Here is my problem: after default installation of apache2 for Ubuntu it's started to retrieve old pages for Trac, for example, I made a small changes (simply edit page) in trac-wiki section, push ...
0
votes
1answer
26 views

Caching UDP packets with iptables

I have a server set up to forward all of its packets on a certain port to another host with the following command; iptables -t nat -A PREROUTING -p udp --dport PORT -j DNAT --to-destination IP:PORT ...
4
votes
3answers
1k views

Why does Apache send 200 OK while Last-modified matches If-modified-since?

I'm trying to have a basic behavior regarding my caching strategy: files should be cached, and revalidated with server each time. So I would like Apache to send a 304 back. Here is the dialog that ...
2
votes
1answer
28 views

How do I download a new Ubuntu release without installing it?

I want to upgrade - in this case, from Ubuntu Trusty to Vivid (going through Utopic if necessary) but I'd really rather do the upgrade in two parts, doing a dry run to get all the packages locally ...
8
votes
5answers
18k views

How to solve “ExpiresActive not allowed here” error message in .htaccess file?

I am trying to add Expires headers to the HTTP responses of the site I am working on. The only way for me to control the Apache 1.3 server is by editing my .htaccess file. I tried adding code such as ...
1
vote
0answers
22 views

WordPress Nginx Browser Cache Expires on Extentionless URLs

Struggling a bit with the following. Adding expires for JS and CSS, plus other static files is easy: # Directives to send expires headers. location ~* \.(?:css|js)$ { expires 28d; ...
0
votes
1answer
225 views

Is dnsmasq a cache?

I have doubt whether dnsmasq is a DNS server or just a cache for DNS. I see in some of the linux machines that the dnsmasq is installed. Is it installed in default? Thanks in advance.