In computer engineering, a cache is a component that transparently stores data so that future requests for that data can be served faster.
4
votes
0answers
25 views
Data syncing behavior for filesystems in Windows
In Linux mounting supports commit option, which is described in mount(8) man page as:
commit=nrsec
Sync all data and metadata every nrsec seconds. The default
value is 5 seconds. Zero ...
0
votes
0answers
17 views
Configure Squid to cache images explicitly called from img src=“”
Instead of hot-linking to external images from my application I'd like to cache them on my server (along with my web app), e.g. instead of
<img src="http://someotherdomain.com/image/1234.jpg" ...
1
vote
1answer
39 views
Why does this HTTP header configuration cause browsers to always perform If-Modified-Since requests?
On our server, we have configured http response headers as follows:
Cache-Control:max-age=28800, must-revalidate # (8 hours)
Connection:Keep-Alive
Date:Wed, 24 Apr 2013 21:36:19 GMT
...
0
votes
1answer
34 views
nginx proxy_cache or Memcached
I currently use nginx's proxy_cache for file-based caching in front of three Django applications (Apache/mod_wsgi). For some locations/URLs, I disabled proxy_cache and used Memcached (per view) within ...
0
votes
1answer
36 views
Varnish Cache and IPB (Invision Power Board) - admin accounts do not stay logged in
I have a cPanel Server running Varnish Cache - I use the plugin from unixy.net.
I have a website on there that uses IPB and when Varnish is installed admin users will not stay logged in.
The first ...
0
votes
0answers
24 views
centos6 nscd change group lookup results
I set a centos6 server up:
$> cat /etc/redhat-release
CentOS release 6.3 (Final)
I configured libnss-mysql to manage my users and it's working well. But as soon as I start nscd, the results ...
0
votes
0answers
33 views
How do I figure what process is caching DNS
There seems to be some form of DNS caching on my machine as my networking scripts continue to give gaierror even after a broken connection has been reinstated. There is no nscd installed and dnsmasq ...
1
vote
2answers
148 views
Setting up a reverse proxy to cache images
I wrote a quick Python server to serve resampled images. For example, a URL might look something like http://images.domain.com/resample/100x100/9f362e1994264321.jpg. Being that resampling images is ...
0
votes
1answer
43 views
Apache mod_ldap / mod_authnz_ldap not caching?
I have an Ubnutu 12.04 server running Apache2 that is configured as a reverse proxy. Apache has been further configured for basic authentication via LDAP. Everything is working fine, except the ...
2
votes
2answers
48 views
Varnish - Cookie
I have the following situation:
On my site, javascript sets a cookie that contains relevant information for generating the markup.
I therefore want Varnish to cache each page separately for each ...
1
vote
1answer
77 views
Nginx not caching pages immediately
I am utilizing Nginx's proxy_cache module for caching but have noticed the page does not cache immediately. The content is very dynamic and each page load produces a different layout, I am trying to ...
9
votes
3answers
253 views
Irregular internet disruption: certain images and JS not loading
first time on ServerFault, and I've got a nice little conundrum.
Since a few months now, we've been having issues with our internet connectivity.
Environment:
Servers: 2 Terminal Servers as an ...
0
votes
1answer
29 views
How to cache all requests on given subdomain (Apache)
I have a domain like images.example.com served from Apache server. The requests that go there currently are images that are drawn using server-side language (PHP) and are cached on the application ...
0
votes
0answers
97 views
nginx caching and proxy pass
I'm trying to use nginx to proxy CDN use for our site to prevent raw video access when people put the CDN URL into their browser, and instead redirect them to a video page. If it's not a cacheable ...
0
votes
0answers
165 views
Video Caching - nginx / varnish / squid [closed]
I need to put a reverse proxy cache in place to handle small MP4 video files - generally 5MB or less. There is no streaming, it is pure HTTP download, but the solution does need to support 206 ...
0
votes
0answers
71 views
Caching large amounts of data
We need to cache all psd/zip files from our amazone S3 storage. The amount of the cache between 150-200 Gb (we need to store files at least 2 month). Now we use transparent proxy squid without any ...
0
votes
1answer
57 views
Set “expires” in nginx for multiple vhosts
I use the "apache style" nginx config (include /sites-enabled folder files and a single .conf for every website I host). How can I set this:
location ~* \.(?:ico|css|js|gif|jpe?g|png)$ {
expires 30d;
...
-1
votes
1answer
95 views
XFS - Force write every n minutes?
I'm running the recently-released Fedora 18, and doing some computationally intensive things with it. The result is... unstable, at best. But! That's about what I expected, or at least not what I'm ...
5
votes
1answer
88 views
what harm can writeback caching have on a degraded disk array?
At work I administer several machines using (real) hardware raid controllers (with battery backed write caches), and these have the nasty habit of falling back to writethrough behaviour when an array ...
-1
votes
1answer
216 views
Caching similar to Varnish on Windows Server [closed]
I'm looking for a caching for IIS similar to the Varnish.. But as Varnish is not recommended on Windows, I would like to have suggestions as what are the other alternatives that can be used for ...
0
votes
1answer
150 views
How to tell nginx to honor backend's cache?
I'm using php-fpm with nginx as http server (I don't know much about reverse proxies, I just installed it and didn't touch anything), without Apache nor Varnish.
I need nginx to understand and honor ...
0
votes
1answer
246 views
How to enable proxy caching on Apache / Ubuntu Linux?
I have already enabled browser caching on my apache but there's another thing, audit report of chrome for my web page suggests "Leverage proxy caching (35)". Any idea how to do that?
0
votes
0answers
32 views
Is it possible to configure netscaler to serve a page from cache if the backend server is down or after a timeout period?
I would like to know if it's possible to configure netscaler to respond with caches HTTP responses when the backend server is down or if it a specified timeout period expires (like 3 seconds).
How ...
0
votes
1answer
47 views
static index.html file nginx
We are using nginx with php-fpm. We plan to make first page static (generate html file). if we have 100 concurrent connections, how we can handle file regeneration? basically we need generate new file ...
0
votes
1answer
157 views
Varnish going sick
I'm having trouble with Varnish, it works for a couple of views and then just goes sick... The weird thing is that it does work for about 20 or 30 requests. If I call apache directly it works fine. ...
0
votes
0answers
80 views
Should Varnish hit when passed an unmatching ETag or an earlier modified date?
We are currently spiking a Varnish implementation to see if it would be appropriate to sit in front of our Rails application.
We want Varnish to cache the results of an API call and only hit the ...
0
votes
1answer
53 views
Seperating Audio,js,css,and images in seperate directory nginx
I am having a dynamic website,which is running on nginx and php-fpm.
Can there be any performance improvement if images,Audio Files,css,js files are put into a seperate directory.
here is my current ...
1
vote
0answers
123 views
Nginx, wordpress: Unable to proper reverse proxy caching due to Set-Cookie. Recommendation for a good strategy
I am trying to do reverse proxy caching for a wordpress blog and I am hit with snags.
The initial configuration was a simple reverse caching like this
location / {
proxy_cache_key ...
0
votes
1answer
120 views
Have set Expiration time: Still getting “Query string present but no explicit expiration time”
I have one local Apache instance running with mod_cache (+ disk & mem) enabled, and it seems to cache content from my appserver fine. My app server sets Expiration headers and Last-modified. Yet, ...
0
votes
3answers
47 views
Apache PHP out of the box caching [closed]
What is a recommended strategy from caching PHP dynamic pages? I have tried a couple of suggestions from serverfault, but they all include code changes. I was wondering if someone has been able to get ...
0
votes
0answers
70 views
web.config caching differences
What are the differences between these two approaches of caching (set up through web.config file)?
<caching>
<profiles>
<add extension=".php" policy="DisableCache" ...
0
votes
0answers
61 views
How do I configure Varnish so that image requests skip the cache and are served by my Webserver?
I'm using Varnish in front of Apache to cache and serve dynamic webpages. I'd like to only cache the html. How do I do this? Below is my config.vcl file. When watching what is being requested and ...
2
votes
1answer
98 views
How to Confirm working of Nginx Caching Proxy
I am having nginx on port 80 and apache on port 8080 on same server.
I have configured nginx such that it act as reverse proxy(i am not sure whether its working or not) using this tutorial ...
1
vote
1answer
173 views
Nodejs for processing js and Nginx for handling everything else
I am having a nodejs running on port 8000 and nginx on port 80 on same server.
I want Nginx to handle all the requests(image,css,etc) and forward js requests to nodejs server on port 8000.
Is it ...
1
vote
0answers
241 views
Setting Up Apache as a Forward Proxy with Caching
I am trying to set up Apache as a forward proxy with caching, but it does not seem to be working correctly. Getting Apache working as a forward proxy was no problem, but no matter what I do it is not ...
1
vote
1answer
158 views
CSS and JS files not being updated, supposedly because of Nginx Caching
I have my web app working with AppCache and I would like that when I modify my html/css/js files, and then update my Cache Manifest, that when the user accesses my web app, they will have an updated ...
0
votes
0answers
42 views
Etags, 304s from Proxy Origin vs. Serve Direct from Apache
Have a couple of JVM apps behind an Apache 2.4 front server, each on separate servers on the LAN, which live behind a Cisco ASA.
I am serving static files (css, img, js) directly from, call it, JVM1, ...
2
votes
1answer
205 views
Using Varnish (only) for DDoS mitigation
My VPS is suffering from a (D)DoS doing a SYN flood with spoofed IPs. I'm right now searching from ways how to be able to defend (at least a bit) against it.
It's running a DirectAdmin apache2 ...
0
votes
0answers
11 views
Pooling several, transient memcached servers
I have a similar, but different scenario to the typical "how should I share memcached instances" questions.
I have an application that's designed to run on a batch system that's shared amongst many ...
0
votes
1answer
101 views
A web server or caching proxy to cache php completely as html?
My Server's load and mysql usage are higher than usual and recently I see about 350 processes for each HTTPd and mysqld.
Is there a web server or caching proxy to cache PHP as HTML?
0
votes
1answer
183 views
Apache 2 as caching proxy with mod_pagespeed [closed]
How to set up and configure an Apache 2, so I can use it as (localhost) caching proxy for every website I'm visiting, with mod_pagespeed and core filters enabled in the proxy?
0
votes
2answers
136 views
Performance-optimizing Oracle 10g on a server that is also a Tomcat JSP app server?
I have inherited a simple RedHat 5 - 64bit platform.
It has SCSI disks on RAID1, with 16GB of RAM. Double Core CPU.
Oracle 10g, Release 2.
This would be a decent platform for running the DB ...
1
vote
1answer
43 views
Differences in memory consumption between two identical D7 sites?
I'm running Drupal on a news site that has a lot of different View blocks on the front page (~5 total, all cached). In trying to reduce the memory footprint of the site, I've checked out source from ...
0
votes
0answers
94 views
How well does php sqlsrv caching work?
According to this page:
http://msdn.microsoft.com/en-us/library/hh487160(v=sql.105).aspx
unless I am misreading it, if you pass array("Scrollable"=>"buffered") (or do I have to use ...
0
votes
0answers
213 views
How can I tune NGINX static file caching in RAM?
From what I've read both NGINX and OS will cache static files being served in memory. Is there a way to set how much RAM NGINX is allowed to use? My web server will be exclusively serving a large ...
2
votes
2answers
169 views
Varnish micro-caching
Micro-caching and Nginx can really speed up the app.
Would it be possible to use micro-caching (or something similar) with Varnish?
1
vote
1answer
234 views
which caching system to work with mpm_worker and mod_fcgid?
I was planning to use APC for my Apache Server based on mpm_worker and mod_fcgid but I found out that APC and also xCache doesn't work with mod_fcgid. so what do you suggest?
1
vote
1answer
228 views
Configuring varnish and django (apache/modwsgi)
I am trying to work out why my application keeps hitting the database while I have setup varnish infront of apache. I think I am missing some vital configuration, any tips are welcome
This is my curl ...
1
vote
2answers
254 views
Using nginx / varnish for SSL and Non-SSL pages
Disclaimer: I have posted this on Stackoverflow as well as I thought it may have fit better there. The link to the question is below if someone would like to answer there.
--
I have the following:
...
1
vote
2answers
167 views
Varnish: Sending “If-None-Match”-Header to Backends?
I'd like to use etag caching directly in my application / verify the eTag in my Application.
How is it possible to route the "If-None-Match" header to the backends?
It seems that Varnish is cutting ...
