

sudo nano /opt/bitnami/apps/wordpress/conf/nf After opening your nf file, copy and paste the code below directly above the line that starts with. Add expires headers Enter the command below to open your Apache server application configuration file. Lastly, enter CRTL + X, then Y, to save and exit the file.ģ. Remove the # symbol from next to the expires_module in order to activate it. After the search field opens, type expires then press Enter to search. sudo nano /opt/bitnami/apache2/conf/nf At the top right corner of the page, click on the keyboard icon, then select Ctrl+W to search. Enable expires module After connecting to your virtual machine instance, run the command below to open your Apache server configuration file.
#BITNAMI MEAN STACK GETTING STARTED HOW TO#
If you are using AWS, click here for instructions on how to SSH into your EC2 instance.Ģ. Lastly, if you’ve already configured Expires Headers as shown in step 4 of the CloudFlare CDN for WordPress on Google Cloud tutorial, then you can skip this tutorial.įrom your Google Cloud dashboard, navigate to VM instances, and click the SSH button next to the virtual machine instance that is running your WordPress website. Please note that this tutorial will also work with the Bitnami WordPress (LAMP) stack on Amazon AWS and Microsoft Azure.
#BITNAMI MEAN STACK GETTING STARTED INSTALL#
If you haven’t yet done this, check out the following tutorials for instructions on how to install the Bitnami WordPress stack on Google Cloud. Getting startedīefore getting started with this tutorial, you should have already installed the Bitnami WordPress (LAMP) stack on Google Cloud.

If you received an F grade for the Add Expires Headers recommendation, then read on to learn how to configure Expires and Cache-control headers for your website. After running a performance report for my domain on, it was clear that my server did not have Expires/Cache-control headers configured, as the test responded with a failing grade. To do this, run a test for your domain at. Checking existing headersīefore diving into this tutorial, you should check your website for existing Expires and Cache-control headers. In this tutorial you will learn how to quickly add Expires and Cache-control headers to your WordPress Bitnami installation.Ĭonfiguring Expires and Cache-control headers enables your website to cache static content, leading to better website performance and reduced load times for visitors. Adding Expires and Cache-control headers is a great way to improve user experience by reducing your website’s load time.
