|
|
apache RSS Feed
View Chantal's IsPopularOnLine RSS Feed
Improve Site Transfer Speed by Enabling File Caching [ ^ ]
The htaccess Guru over at askapache.com provides this excellent article explaining how to dramatically improve your site’s transfer speed by enabling file caching. Using time in seconds* to indicate the duration for which cached content should endure, we may generalize the htaccess rules as such (edit file types and time value to suit your needs):
# cache images and flash content for one month
Header set Cache-Control "max-age=2592000"
# cache text, css, and javascript files for one week
Header set Cache-Control "max-age=604800"
# cache html and htm files for one day
Header set Cache-Control "max-age=43200"
# implement minimal caching during site development
Header set Cache-Control "max-age=5"
# explicitly disable caching for scripts and other dynamic files
Header unset Cache-Control
# alternate method for file caching
ExpiresActive On
ExpiresDefault A604800 # 1 week
ExpiresByType image/x-icon A2419200 # 1 month
ExpiresByType application/x-javascript A2419200 # 1 month
ExpiresByType text/css A2419200 # 1 month
ExpiresByType text/html A300 # 5 minutes
# disable caching for scripts and other dynamic files
ExpiresActive Off
Set the default language and character set [ ^ ]
Here is an easy way to set the default language for pages served by your server (edit the language to suit your needs):
# set the default language
DefaultLanguage en-US
MORE...
Super apache Specials at Amazon.com Everyday!
| 04/20/2007 03:03 AM |
| Top Links Online Directory of Popular URLs |
|
TOP LINKS ONLINE Directory of Top Links and Popular URLs Online
Submit Links www.IsPopularOnline.com is a Top Links Directory dedicated to helping the little-guy get high pagerank and maximum pagerank for their links listing. Your links advertisement ... (http://jtmcnaught.money-machine.net)
|
| 02/04/2007 12:04 AM |
| Apache v IIS - An image worth a 1000 words! |
|
Apache V Iis - an Image Worth a 1000 Words! ..."The first image is of the system calls that occur on a Linux server running Apache; while the second is of a Windows Server running IIS. The images speak for themselves."
|
| 08/01/2007 12:12 PM |
| Arizona Fire and Water Restoration Emergency Services |
|
|
| 12/27/2006 02:51 PM |
| .htaccess URL Rewriting Guide - For Webmasters Who Want Help Coding Apache Redirection Rules! |
|
.htaccess URL Rewriting Guide - Want help writing Apache Redirection Rules?
Follow this URL to a great article that describes how one can use Apaches mod_rewrite to solve typical URL-based problems with ...
|
| 04/02/2007 02:47 AM |
| Ask Apache HTACCESS Ultimate htaccess guide |
|
Ask Apache HTACCESS Ultimate htaccess guide Apache Web Server . htaccess and httpd.conf code snippets and examples that I use all the time. There is a lot of htaccess golden infomation ...
|
| 05/03/2007 02:44 PM |
| RUBY RAILS - Type some Ruby code. Press Enter and watch Ruby run. Ruby Tutorials |
|
RUBY RAILS
Ruby Rails Tutorial and Demo Ruby Rails Code
Ruby Rails Popular URLs and Tutorials
Learning Ruby Rails from scratch can be a pain. But don't fret, this guide provides the best Rails resources the Web has to offer.
Ruby Rails is a cool upcoming and popular online modern programming language framework. Ruby is a programming language that has been around for a few years ... (http://jtmcnaught.iwealthonline.com)
|
| 05/01/2007 11:01 PM |
| Optimize htaccess Optimizing Apache htaccess File Performance Optimization |
|
HTACCESS OPTIMIZATION Optimize htaccess Optimizing Apache htaccess File Performance Optimization Improve Site Transfer Speed by Enabling File Caching [ ^ ] ...
|
| 04/29/2007 11:33 PM |
| MP3 Music Download |
|
MP3 Music Downloads Download Music and get paid
|
| 05/24/2007 08:07 PM |
| Apache UNIX Shell commands and Scripting Tips for Newbies |
|
Apache UNIX Shell commands and Scripts
Apache UNIX Shell commands and Scripting Tips for Newbies
CHMOD is used to Assign file permissions and file security settings critical to the safty adn survival of your website. It is important to understand permissions and how they need to be applied. e.g. Directories created under web directories will have different permissions than data file or cached files stored ... (http://jtmcnaught.computer-giveaway.net)
|
comments