The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
26 views

mod_expires does not affect caching

I have mod_expires installed in Apache on CentOS VPS. It is also listed in the loaded modules, I checked by this command /usr/local/apache/bin/httpd -l When I place the code in .htaccess, and then ...
1
vote
1answer
77 views

apache expires not working for pyramid server

I have a pyramid server running on EC2 via apache with following configuration - <Directory path_to_virtual_env> WSGIProcessGroup pyramid Require all granted Order allow,deny ...
0
votes
1answer
331 views

mod_expires doesn't set expiry for images (png,jpeg,gif)

I am using this below configuration in my apache2.conf <IfModule mod_expires.c> ExpiresActive On ExpiresByType image/gif "access plus 6 month" ExpiresByType image/jpg "access plus 6 ...
1
vote
0answers
147 views

Can not I properly configure expires headers for apache

I am trying to configure caching for static js/css/img on apache2 (I am using ubuntu). I do not want to use .htaccess due to this answer. So I tried the following: enabled modexpires modified ...
1
vote
1answer
203 views

Apache: ExpiresByType per directory?

I have a folder with javascript files that should expire faster than the normal scripts. Is it possible to let files expire per directory using Apache 2 other than .htaccess? <IfModule ...
0
votes
1answer
232 views

Using mod_expires conditionally depending on an environment variable

I've borrowed some mod_expires code from the HTML5 Boilerplate that adds some sensible defaults for asset expiry (I have filename version revving configured with htaccess so I can add mtimes before ...
5
votes
2answers
298 views

IIS sets http header Expires to -1, how do I override this with mod_expires

I'm using an IIS website with a Apache HTTP reverse proxy (mod_proxy with ProxyRequests Off). I want to control the expires headers in apache (don't ask), but IIS is setting the header Expires: -1. ...
1
vote
1answer
640 views

Apache Caching and Expires configuration

I'm looking for a best possible caching/expires configuration for my specific situation. I realize that some sites have advocated turning etags off: Header unset ETag, FileETag None I know that I ...
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
3answers
311 views

Apache mod_expires for server performance gain

I've always used mod_expires to set caching of images etc. for a frontend performance gain, i.e. to reduce website load times. As the browser will go to it's cache rather than the server, the number ...
2
votes
3answers
926 views

Apache mod_expires

I am rather confused with the whole access and modification. I want the files to be cached until they are modified. If the data is the same, show cache version. If data has changed, download updated ...
1
vote
5answers
966 views

Setting different caching headers for difrerent redirections using Apache mod_rewrite

I've got an Apache vhost which performs a number of rewrite operations (using mod_rewrite) on the requested URLs. Some of these RewriteRule calls redirect the browser to other hosts (using 301 and 302 ...
0
votes
1answer
854 views

Apache .htaccess with mod_expires not working for certain directories

I have a Joomla site that I am trying to enable caching using mod_expires. I have the .htaccess in the root of the site and have added the options as found on the page ...
0
votes
1answer
249 views

Apache2 server not recognizing text/css files for expire/compression

I'm trying to add two things: ExpiresActive On ExpiresByType text/css "access plus 30 day" and AddOutputFilterByType DEFLATE text/css but in either case it does not show up compressed or have a ...
1
vote
1answer
633 views

Override Expires header for proxied content in Apache

I am serving proxied content with Apache that already contains an Expires header. Using mod_expires' ExpireDefault to override the already present Expires header does not work, the old header is left ...
0
votes
1answer
689 views

mod_expires, exclude a single directory

is it possible to exclude one or more directorys from mod_expires with the expires.conf ? I know how to make a setup for file and mime-types, but I'm lost to tell it not to add expire headers to ...
1
vote
2answers
703 views

Apache mod_expires question

I'm really confused by all that caching stuff. I'm trying to setup mod_expires to reduce the number of HTTP Requests from my website to the server. I did well so far, I installed mod_expires and ...
1
vote
4answers
3k views

Is there a way to add expires header to images with Godaddy shared Linux hosting?

I can't find a way to do it. Is it even possible?