htaccess cache control no cache and cache public rewriterule parameters





htaccess cache control no cache and cache public


Htaccess redirect

Learn htaccess cache control no cache and cache public rewriterule flags , syntax using the sample example below.

Cache files


File caching is another famous approach in optimizing website loading time


<FilesMatch ".(flv|gif|jpg|jpeg|png|ico|swf|js|css|pdf)$">
Header set Cache-Control "max-age=2592000"
</FilesMatch>

Disable caching for certain file type


Well, in the other hand, you can disable caching for certain file type.

# explicitly disable caching for scripts and other dynamic files
<FilesMatch ".(pl|php|cgi|spl|scgi|fcgi)$">
Header unset Cache-Control
</FilesMatch>


htaccess cache control no cache and cache public syntax

htaccess cache control no cache and cache public code on this is provided for your study purpose, it will guide you to know how to use mod_rewite to create .htaccess files on the apache servers. use it to practice and train your self online

All the tutorials on this site are free, the page code is provifed for you to use it to practice, if you want to help to improve and maintain this work, you can donate to us on.



Htacess tutorial guides withexamples and easy steps to set ip up on your server.


Htaccess Generator

Htaccess ads

gzip page compression

301 redirect

adding new mime types and set timezone

block all bad robots

block and allow referrer

cache control no cache and cache public

php 301 redirect

changing home directory page

custom error page

file access deny control

force file save

hide .

hot to create file

hotlink protection

ip blocking

modifying the environment variable

password protect a directory

prevent directory listing

prevent hack

redirect www to non www

set cookie domain authentication

stop directory listing

upload_max_filesize limit

All the tutorials on this site are provided for free. You can copy and print the tutorials and code on this site, but you are not allowed to reproduce this information on another website. All rights reserverd 2012

Copywright © 2013 www.htaccessredirect301.com Site created By prince Ejike Google+

promo