How to disable caching using the .htaccess file

Date: 11/20/19          2 Minutes To Read In this article: Conditions for Disabling Caching .htaccess Code for Disabling Caching Things to Consider when Adding Code to .htaccess Examples of Code Used to Disable Caching There are times when you must disable caching of your website files. You would want to stop it by letting any browser accessing Read More >

How to Set Up Non-cached Pages with .htaccess

Cache control is one of the primary system administrative tasks you will find yourself performing. Thankfully, most browsers will take care of at least some of the caching for you, remembering certain resources that were loaded before. However, there may be occasions in which browser caching is something you don’t want. In this article, we’ll Read More >

Allow access to specific file types in a protected directory

For security reasons, many users like to protect directories from intrusion. This prevents people from injecting php or other malicious code or scripts into the directories. However, locking down a directory entirely may prevent access to specific tile types you do wish people to view, such as images. The instructions below will explain how to Read More >

Allow public access to a file in a protected directory using .htaccess

Within your website structure, there are many times when you may want to protect directories from outside access. This prevents any user from accessing a subdirectory of your site, and its files, without a username and password. There may be a time, however, when you want to allow access to a single file within a Read More >

How to Add mod_expires to your .htaccess

When visiting a website, the website will cache in your browser. This cache can be controlled by configuring your Cache-Control HTTP headers for your website This is done by adding mod_expires in the .htaccess file of your server. If you don’t set your Cache-Control for the HTTP headers, then, you will have a longer wait Read More >