A location or process for storing of transitory or temporary data in order to improve application or system performance.

learn more… | top users | synonyms

0
votes
1answer
517 views

Nginx location to match query parameters

Is it possible in nginx to have a location {} block that matches query parameters. For example I want to pick up that "preview=true" in this url and then instruct it to do several different things, ...
1
vote
2answers
4k views

Why is Varnish not caching?

I am troubleshooting the setup of Varnish 3.x on my Ubuntu server. I'm running Drupal 7 on two sites set up on the box, via named-based vhosts. Before trying to get Varnish to play nice with Drupal ...
1
vote
2answers
366 views

Http header 304 and caching?

Our company uses these settings( don't ask me why) - for every request they want a new request from server. this is an intranet system which uses only IE. They defined it in : We also have ...
1
vote
1answer
146 views

Can squid cache objects from HTTPS sites?

We have squid 3 installed at our Linux gateway server. We have enabled caching. Can it cache objects from https sites ?
0
votes
3answers
512 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 ...
0
votes
2answers
954 views

Flush mod_pagespeed cache in Debian

I need a way to flush the mod_pagespeed cache while developing. According to mod_pagespeed documents, I should run the following command: sudo touch /var/mod_pagespeed/cache/cache.flush In Debian ...
1
vote
1answer
510 views

Nginx cache reverse proxy: how to keep app server alive during the 5 second window when cache expires?

I have an nginx server sitting in front of apache running django. Most of my site is static content: http://www.grovemade.com/ My app server can handle the pieces that needs to be dynamic just fine ...
3
votes
0answers
42 views

How can I measure disk cache churn on Linux? [duplicate]

Possible Duplicate: Is there a way to get Cache Hit/Miss ratios for block devices in Linux? I have a file server which serves out large (25GB-1TB+) files over the network from local ...
0
votes
1answer
537 views

Is it advisable to put eAccelerator cache dir to RAM?

I've just installed eaccelerator on server that's gonna be running Magento. I have a hard disk, so was wondering would my server performance improve if I was to mount eaccelerator cache dir to RAM. ...
2
votes
1answer
931 views

Optimising busy website with Varnish and lots of ram

[Updated to be much more consise!] I'm new to the world of optimising web servers for lots of traffic, but that's now something I'm getting into. On Monday our webserver was 'slashdotted' - we got a ...
11
votes
1answer
6k views

For L2ARC and ZIL: is it better to have one large SSD for both, or two smaller SSDs?

Main references ZFS L2ARC (Brendan Gregg) (2008-07-22) and ZFS and the Hybrid Storage Concept (Anatol Studler's Blog) (2008-11-11) include the following diagram: Question Should I interpret the ...
-1
votes
1answer
359 views

How to arrange web servers with Varnish? [closed]

I am wondering what it the best (most stable with the least memory footprint) arrangment for a busy php+mysql app? request > Varnish > Apache requests > Varnish > Nginx > php5-fpm ...
2
votes
2answers
249 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
315 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
3answers
166 views

Is it safe to use up all memory on linux server, not leaving anything for the cache?

I have a CentOS server fully dedicated to MySQL 5.5 (with innodb tables mostly). Server has 32 GB RAM, SSD disks, and avarage memory usage looks like this: So about 25GB is in use and about 6.5GB ...
2
votes
1answer
309 views

Nginx Subdomain Wordpress Rewrite Rules - APC FPC - Slow as a turtle. why?

Running on Ubunty 10.04 Nginx (one of latest) with Wordpress subdomain multisite using the plugin. APC i have latest version same with php, I am running 4 websites with almost no traffic (30 hits ...
0
votes
1answer
279 views

Make nginx avoid cache if response contains Vary Accept-Language

The cache module of nginx version 1.1.19 does not take the Vary header into account. This means that nginx will serve the same request even if the content of one of the fields specified in the Vary ...
1
vote
1answer
346 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 ...
0
votes
3answers
3k views

HP p410i array controller - what happens if i add memory?

I have a p410i array controller that only has 256ram. We want to create a raid 5 so we have procured a 512 write back cache module. If we install the write back cache, will this erase the ...
0
votes
1answer
3k views

How to flush cache for IIS 7.5 on Windows Server 2008 R2?

Hope someone can help me with this. I have PHP successfully installed via Fast-CGI for IIS 7.5 on WS2008 R2. Let's say i try to edit some file called about.php and save it. If i check the changes ...
1
vote
0answers
233 views

How to disable Nginx web pages caching to avoid ISP cache?

My problem is simple. I did some changes on a homepage this morning (add some sentence) and it did not appear in my browser. I cleared symfony cache, nginx cache, apc cache, restart apache, restart ...
0
votes
2answers
71 views

Faster caching method

I have a service that provides HTML code which at some point it is not updated anymore. The code is always generated dynamically from a database with 10 million entries so each HTML code page ...
1
vote
0answers
183 views

Will my nginx reverse proxy cache work?

I have a website running Nginx and Apache, ...Apache deals with PHP files, and Nginx the html static files, we have now changed the site so there are no html static files, only PHP files and this has ...
2
votes
1answer
2k views

Nginx Cache-Control

Iam serving my static content with ngnix. location /static { alias /opt/static/blog/; access_log off; etags on; etag_hash on; etag_hash_method md5; expires ...
4
votes
2answers
498 views

Nginx Reverse Proxy : post_action if proxy cache hit - Possbile?

We have recently found out about nginxes post_action. We were wondering it there was a way to use this directive if a proxy cache hit is made? The flow we were hoping on is as follows: 1) User ...
5
votes
2answers
469 views

Force request to miss cache but still store the response

I have a slow web app that I've placed Varnish in front of. All of the pages are static (they don't vary for a different user), but they need to be updated every 5 minutes so they contain recent data. ...
0
votes
1answer
209 views

Nginx stops proxy_cache under siege or with curl request when page's cache is out of date

I try to serve an index page with nginx, using it's proxy_cache functionality. Everything works fine regards ordinary browsing with broswers. But when I try to get page's content with curl or when I ...
3
votes
1answer
585 views

APC and “apc.gc_ttl” :: How Low is Too Low?

I currently have my apc.gc_ttl set to 600 to help keep fragmentation down. Since apc.gc_ttl just sets the time on cache for garbage collection, I don't see any harm in keeping it this low. However, ...
0
votes
1answer
530 views

NGINX proxy caching - cache buster variable in querystring - possible to ignore?

We have the following url we would like to proxy cache: file.php?parameter=one&paramater2=two&r=EPOCHTIMESTAMP Query string parameter "parameter" varies between requests. So does ...
0
votes
2answers
790 views

Writeback cache in linux

In linux how do I have a writeback cache on disks? Basically, I'd like to setup a 100MB RAM cache for writing that writes out every 3-5 minutes or when full. Is this possible? Is there a sysctl ...
2
votes
1answer
387 views

Varnish Server throws error 503 when the back-end is down

Varnish immediately starts showing a 503 Service Unavailable error when the back-end of the site is down. The configuration is that everything should be cached for 7 days. I would expect the site to ...
0
votes
2answers
196 views

File system cache / drop cache(debian)

if i play those command : sync echo 3 > /proc/sys/vm/drop_caches Will the server be force to read the correct file on disk until i put 0 again ? Or this work only one time, and if i want to ...
0
votes
2answers
375 views

Configuring mod_mem_cache to only cache certain content types and finding out what is cached

I've installed Apache's mod_mem_cache on a server that serves multiple websites. I needed to install it in a hurry as I had a massive traffic spike and was firefighting. It has improved performance ...
3
votes
1answer
200 views

Number of active visitors on website vs. number of concurrent connections to web server at one point of time

I have 1 single website running on 1 single Amazon EC2 instance (Linux, Medium size). Our website is based on WordPress and it has W3 Total Cache enabled + Page cache - except for logged-in users ...
0
votes
1answer
87 views

Prevent cacheing when using nginx reverse proxy cache

is there a way to prevent cacheing for some pages when using nginx reverse proxy cache. like sending some king of header from php? my version of nginx is 0.7.64 thanks in advance:)
3
votes
2answers
3k views

Linux cached memory: Over 85% of cached memory and using swap

I read about Linux and cachd memory at linuxatemyram but there is something that doesn't make sense to me, if the server have even a low load, instead of freeing some cached memory it starts using ...
1
vote
2answers
226 views

Can Apache2 be configured to return both HTTP 1.0 and 1.1?

I'm trying to figure out a caching issue. We are currently using a CMS with built in caching. We can then delete the cached copy via the control panel and the uncached page will be served until we ...
4
votes
2answers
427 views

Can varnish cache files without specific extension or residing in specific directory

I have a varnish installation to cache (MANY) images that my service serves. It is about 200 images of around 4k per second and varnish happily serves them according to the following rule: if ...
1
vote
1answer
302 views

Showing outdated information when using WAMP as local server

I am running WAMP as a local server for the computers in the my network. The problem is that when I try to do any operations to the database from these computers, it seems as if they don't happen, ...
1
vote
1answer
739 views

How to you properly invalidate the local cache on a browser?

I'm troubleshooting a problem on my site where a user will authenticate successfully but the browser will load (I believe) the local cache of the page to which the user is redirected. Since it's a ...
1
vote
1answer
1k views

Centos is using all memory for cache and not giving it up

total used free shared buffers cached Mem: 1024 1020 3 0 0 859 -/+ buffers/cache: 160 863 With 863 ...
-2
votes
1answer
76 views

Do you know any cluster /dev/shm like interface or RAM based, cluster filesystem?

I am looking for some sort of clustered /dev/shm like device or RAM based, clustered filesystem, running on Linux, so it supports mirroring. Or there is anything stable enough which would do the job ...
1
vote
2answers
1k views

Is there a way to cleverly cache with Nginx?

We have an Apache behind Nginx. Nginx is used to load balance between webservers and to cache static content. The only problem is, every time the web application is updated we have to completely clear ...
3
votes
2answers
420 views

Tell the linux kernel to put a file in the disk cache?

Is there any command to for a file to be read in and loaded into the linux disk cache? This is on an up-to-date debian system. I know in the general case, it's better to let the linux kernel figure ...
0
votes
1answer
56 views

Make server cache GET requests

Like this: Visitor (or user whatever) requests site.com/page1/ trough GET, then site.com/page1/ gets cached by the server, and all further requests of that page are served from cache, until a POST ...
5
votes
2answers
3k views

Squid not caching

I am trying to configure Squid as a caching server. I have a LAN where The webserver (apache) is at 192.168.122.11 squid is at 192.168.122.21 and my client is at 192.168.122.22. The problem is, when I ...
1
vote
1answer
2k views

nginx transparent reverse proxy - 403, 404 and more

I am running Debian Squeeze on a dedicated server, using it as a web- and db-server (nginx, apache & mysql). I followed a few tutorials on how to setup nginx as a reverse proxy for apache - and ...
0
votes
1answer
61 views

Is there anything like memcached for Windows shares?

Our current infrastructure has an application running on an application server and mapping a network share to run. This effectively turns all file I/O into network traffic which in most cases is ok, ...
2
votes
1answer
1k views

Squid cannot cache static files with query string

I'm having an issue here. i setup my router with squid transparent proxy and also to do static files caching. It can cache static files successfully. But it cannot cache static file with query ...
0
votes
3answers
1k views

How can I refresh cached IP for a website in CentOS

When I ping a given website from a CentOS 6.2 server console, it pings to that website's old IP address. How can I force CentOS to refresh the cached IP for the website? I searched and found I could ...