The information in this article is specific to Drupal. For general information about caching, please see this article.
Enabling caching for Drupal
To enable caching for Drupal, follow these steps:- In the directory where you installed Drupal, open the .htaccess file in a text editor. You can use one of the text editors in cPanel, or you can log in to your account using SSH and use a command-line editor.
📘 Note If the .htaccess file does not exist, create it.
- Copy the following text and paste it at the top of the .htaccess file:
- Save your changes to the .htaccess file. Caching is now enabled.
.jpg?fit=max&auto=format&n=E2LlsT5gBITvo732&q=85&s=ec11e1673894bdf46663a5d73602eb87)