The mod-cache tag has no wiki summary.
0
votes
0answers
18 views
html rewriting with xammpp mod_proxy mod_cache mod_substitute
A free hot spot with ad insertion in webpages. I want to accomplish this using some software like Squid or Apache. I have Apache and in localhost webpages am inserting ads but in others webpages it ...
0
votes
0answers
12 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 ...
2
votes
1answer
78 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 ...
1
vote
0answers
136 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 ...
0
votes
1answer
40 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 ...
1
vote
1answer
92 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
167 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
436 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
198 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
176 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
163 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 ...
2
votes
1answer
735 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
2answers
1k 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 ...
2
votes
1answer
225 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
174 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 ...
4
votes
1answer
1k 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
233 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:
...
7
votes
2answers
980 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
538 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 / ...
3
votes
1answer
428 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
121 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
890 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
619 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
813 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
2answers
2k 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] ...
0
votes
3answers
497 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 ...
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.
...