The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
196 views

Forcing Apache 2.4 to cache files with query string using mod_cache without expires

I need to get mod_cache_disk to cache a site containing query strings. The issue is that it's a vendor product on IIS that we're trying to cache through mod_proxy and it does not contain expires ...
3
votes
1answer
981 views

Apache/mod_cache: “Error 103 Software caused connection abort”

We keep getting the following error popping up in the apache error log: [error] (103)Software caused connection abort: cache: error returned while trying to return disk cached data This error ...
0
votes
1answer
280 views

Force caching of handler output which actively resists caching

I'm trying to force caching of a very obnoxious piece of PHP script which actively tries to resist caching for no good reason by actively setting all the anti-cache headers: Cache-Control: no-store, ...
0
votes
0answers
794 views

mod_cache not working on Ubuntu 14.04 with Apache 2.4

For some reason mod_cache is not working anymore in my setup since Ubuntu 14.04/Apache 2.4. I reinstalled my complete setup in 2 virtual machines on Ubuntu 12.04 and Ubuntu 14.04 to evaluate if i did ...
0
votes
0answers
110 views

ProxyPass and mod_cache

Our content changes once a day, and now we are looking to use Apache ProxyPass AND mod_cache to speed up the site. Basically, this is the context: WWW => Apache2.2 => internal (slow) web server ...
0
votes
0answers
69 views

Is it possible to add resume functionality to an Apache caching reverse proxy?

Our company's proxy is a rather typical corporate setup: it man-in-the-middles SSL connections, tries virus-checking on download and so on. As usual, this setup is rather flaky, which often results in ...
0
votes
0answers
272 views

Invalid command 'CacheIgnoreURLSessionIdentifiers', perhaps misspelled or defined by a module not included in the server configuration

I plan to add the caching module in Apache2. If I add the following lines in the Configuration it works fine. <IfModule mod_disk_cache.c> SetEnvIf Request_URI !\.(|pdf|jpg|jpeg|png|gif|)$ ...
0
votes
1answer
432 views

Cacheing with apache

I'm currently trying to implement the sending of correct caching headers with Apache 2.2. Currently I've added following lines to the httpd.conf file: # Turn on Expires and set default to 0 ...
2
votes
1answer
508 views

Apache mod_disk_cache working for small files but not big files

I have enabled the mod_cache and mod_disk_cache Apache modules, to enable caching of dynamically generated images form a PHP script (based on width and height parameters). Everything works fine ...
1
vote
0answers
56 views

How to tell apache to look for last modified date before serving an old modified HTML file?

On certain requests my Django application updates static HTML files. However apache is serving them old copy from its cache... How can I configure Apache to make sure serve latest file changes.. ...
2
votes
1answer
2k views

apache mod_cache in v2.2 - enable cache based on url

We are using apache2.2 as a front-end server with application servers as reverse proxies behind apache. We are using mod_cache for some images and enabled it like this: <IfModule ...
4
votes
1answer
660 views

Varnish + Tomcat vs Apache + mod_jk + Tomcat

Does anyone have some performance metrics for Varnish in front of 1) Tomcat or 2) Apache with mod_jk (connected to Tomcat). I know that the AJP connector is supposedly faster than HTTP, but I was ...
0
votes
1answer
308 views

Disable mod_cache to fix website

I am working on a website that runs on WordPress. The an error occurs when accessing the blog page that it displays the RSS feed (in XML) rather than the posts. After some research I found out the ...
0
votes
1answer
584 views

Mod_cache is not logging or caching

Apache 2.2 on RedHat 6.3. I have a virtual host that is setup like so: <VirtualHost xxx.xxx.xxx.xxx:80> ServerAdmin some@email.com DocumentRoot /home/xxxxx/Sites/xxxxxxx.com/htdocs ServerName ...
2
votes
1answer
1k views

Apache caching of static content (jpg, png, js, …) on the apache proxy server using mod_jk

I'm using an apache as frontend webserver that load balance users between 3 nodes of tomcat web servers. I use mod_jk to do that. What I want is how can I configure apache on this presentation server ...
1
vote
0answers
76 views

apache reverse proxy - make static content cachable

I have an apache web server (reverse proxy with mod_proxy) in a front of a tomcat java application. to improve performance, i would like to make static content (css, javascript and images) cachable ...
2
votes
1answer
575 views

How to turn on mod_cache with mod_proxy or mod_jk

I'm trying to setup apache+mod_jk/mod_proxy with mod_cache. But it looks like all proxied requests are ignored by mod_cache. May be it is related to module handling order or something else? Apache ...
7
votes
2answers
2k views

Apache cache serving partial content 206 responses to requests for the full content

We're running Plone 3.3.6 behind Apache 2.2.19 with mod_cache. We've recently noticed that Apache is caching the 206 response to a range request and then serving that partial response when a request ...
0
votes
1answer
75 views

See requests to real server with mod_proxy

My setup involves using apache with mod_cache and mod_proxy to proxy and cache xml data between my iOS app and a web service. Right now I'm using awstats to see how many requests my iOS app is making ...
4
votes
2answers
3k views

mod_cache not working

I have a PHP site that has many dynamically generated pages. I'm trying to turn to mod_cache to help boost performance, because in most cases, content does not change in a given day. I have ...
1
vote
1answer
234 views

Apache mod cache mem/disk saves the cache for 10 seconds and than re-cache

I have this set up in my 000-default: <VirtualHost 192.168.1.10:80> ServerName live.website.com DocumentRoot /var/www/live.website.com SetOutputFilter INFLATE;proxy-html;DEFLATE ...
2
votes
2answers
794 views

How to optimize Lighttpd to host really small, static image files that do not change over time?

This Lighttpd server will need to very quickly serve different image files (say about 500 requests per second). Each image file is about 50-70kb and there's only going to be about 1000 or so of them. ...
1
vote
0answers
1k views

How mod_cache working with “must-revalidate” and “max-age”?

Quick question before I will explain my flow: Сan mod_cache perform revalidate with if-none-match only if max-age is expired in case if it configured in reverse proxy mode? My goal is to reduce a ...
1
vote
0answers
404 views

Mod disk_cache permanent caching images and disabling reacurring header updates

I am trying to get mod disk_cache to permantly cache images retrieved from an image server on the webserver using ProxyPass. While the image is being retrieved correctly from the server and is served ...
0
votes
1answer
425 views

Caching query strings in an Apache proxy

I had problems getting disk_cache to work, and I was not able to see why. This was the relevant section from my config # Caching CacheRoot "/var/cache/apache2/" CacheEnable disk / I was timing a ...
0
votes
2answers
594 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 ...
1
vote
2answers
3k views

Apache no-cache on specific files

I have an application that has the following rewrite rule: RewriteCond /tmp/maintenance.html -f RewriteCond %{HTTP_HOST} !^backdoor.myapp.com$ RewriteRule ^(.*)$ /tmp/maintenance.html [L] ...
2
votes
1answer
361 views

Apache mod_cache: Strip/ignore (only) Google Analytics cookies

Varnish has the possibility to strip certain cookies from the request before deciding if a request is non-cachable because it contains cookies. Is there such a thing for Apache's mod_cache? Consider ...
0
votes
3answers
320 views

What is best practice for updating an entire website?

I have a site that is a complete redo of an existing one that is ready to go live. I can't find enough information to make a successful transition to the new site. I have the new site accessible from ...
0
votes
1answer
985 views

Apache2 mod_proxy, mod_rewrite and mod_cache

I have frontend apache2 and backend tomcat6 with apache lenya. Proxy works fine but I want to cache images. Here is my simple config: ProxyPass / http://192.168.0.82:8888/ ProxyPassReverse / ...
0
votes
3answers
643 views

mod_cache serving the wrong content

I'm trying to use mod_disk_cache to speed up a web site that is running on WordPress. Whenever I enable it with CacheEnable disk / and the rest being the stock Ubuntu configuration I start to get ...
4
votes
1answer
2k views

Confused about caching solution: MemCache, Varnished, mod_cache, else?

I have a very heavy site in my server. The load of the server is always about 30-50 and sometimes it become even 150 and server work really hard. I'm looking for a caching solution that can increase ...
1
vote
1answer
393 views

Cache Control Max Age Question

I am trying to understand the Cache-Control: max-age=0 configuration from below: This is a snipet from HTTP Live Headers for a static image on our landing page after hitting refresh: ...
3
votes
1answer
704 views

Apache caching based on cookie

I'm trying to put mod_cache in front of my application server to cache "public" requests but not requests from logged-in users. For various reasons using alternate subdomains or paths isn't a viable ...
0
votes
1answer
203 views

.htaccess to match paramaterized URLS

I am trying to set a cache control header when a browser requsets the following url: www.example.com/php/getData.php?exampleField=exampleValue As even though getData.php is a dynamic page, when the ...
1
vote
1answer
1k views

Apache mod_cache and mod_deflate?

We have a Apache 2.2 with mod_cache and mod_deflate among other modules. The problem is that if we append Vary header as in Apache documentation... # Make sure proxies don't deliver the wrong content ...
2
votes
1answer
1k views

Monitoring apache's caching

I'm running mod_mem_cache with mod_cache, but I don't seem to have any way of telling whether images are served from the cache or not, so I can't tell how well it's working. Is there some way of ...
0
votes
3answers
1k views

how to configure apache with mod_cache and mod_proxybalance for massive virtual hosting

I have a farm of IIS servers which provides something akin to domain parking sites, with thousands of domains assigned to the system, and content generated dynamically. I need a load balancing and ...
0
votes
1answer
2k views

Apache's mod_cache not caching FCGI PHP output

I have a very simple PHP script to test my mod_cache setup. However, it's not working -- I can tell by both the 5 second delay when waiting for the page to load as well as the date printed. ...