mod-expires
Enable Browser-Caching for lighttpd/thin
I have the problem that Googles “Page Speed” says that I should enable browser caching. I am usein a lighttpd server as a proxy for different web server on my server. One of them is a rails app (Ru[详细]
2023-04-03 22:14 分类:问答Enabling mod_expire depending on request
Instead of generating links to file.js, I\'m calculating a version number or hash sum and linking to file--bbe02f946d.js. I\'m using the following redirect rule to then serve the current version of th[详细]
2023-04-02 05:27 分类:问答mod_expires sending Cache-Control headers for 3## status codes
Apache is sending Cache-Control headers for 3## status codes, like 302 redirects. This is causing Firefox (possibly starting with Firefox 5) to cache the 302 redirects--which results in an infinite re[详细]
2023-03-24 04:36 分类:问答Pages aren't caching right, response headers seem wrong... how to fix?
Ok, I really didn\'t know how to put the question but my problem or at least I think it\'s the problem goes like this:[详细]
2023-03-11 06:33 分类:问答How to redirect or mod_rewrite an Expired image in a directory using .htaccess
I have a redirect setup that looks for an image in a directory and if it does not exist, it will redirect to a php file that resizes an image and saves it to that directory. I got it to work great. Pr[详细]
2023-02-21 03:20 分类:问答Which one to use : Expire Header, Last Modified Header or ETags
I am running PHP on Apache, and am confused about how to implement server-side caching, in order to make the site load faster.[详细]
2023-02-17 06:42 分类:问答.htaccess: Cache Control, how can I handle Website Updates?
I just searched the web but could not find a good answer to this: The Google page speed extension for FF told me to cache files on my website (PHP). Therefore I updated my .htaccess (in my beta-area[详细]
2023-02-13 17:07 分类:问答PHP session_start() overwrites HTTP Expires header
I am trying to set Expire header to 2 hours from access for text/html by using mod_expires like that:[详细]
2023-02-01 03:59 分类:问答Apache: apply rules to a URL before they're rewritten
I have a simple RewriteRule: RewriteRule ^/r/[0-9]+/(.*)$ /$1 This is used for cache-busting. With every web site release I change the url prefix, e.g.:[详细]
2023-01-31 08:15 分类:问答Add expires header without mod_expires?
I know that I can add expires header using mod_expires. However, what can I do if the Apache server doesn\'t h开发者_C百科ave mod_expires installed and I don\'t want to route the access to the files t[详细]
2023-01-14 18:24 分类:问答