add expires headers htaccess joomla
If you add expires headers to your .htacces file, then you will get better site speed. Expires headers tells browser whether they should request file from browser or whether they should grab it from browsers cache. Quick .htaccess snippet to disable browser caching by modifying Cache-Control, Pragma, and Expires headers. Strictly plug-n-play. Just add the following directives to your sites root . htaccess file Most commonly expires headers are set to images, css and js files with long expiration time. We can add expires headers using htaccess.So to do this add the below lines of code to your .htaccess file. After add following code in joomla .htaccess ExpiresActive On Add default Expires header ExpiresDefault "access plus 1 year".joomla. headers. Enable expires module in Apache server. Step 3 If there is already a .htaccess file, you can open and edit it right away.None Header unset ETag Header set Cache-Control "max-age0, no-cache, no-store, must-revalidate" Header set Pragma "no-cache" Header set Expires "Wed, 11 Jan 1984 05Drupal. Ecshop. Joomla. Magento. Moodle. We are getting Add Expires headers score F (0).
Can anyone please let us know how to fix this problem. ?If you are using a CMS, such as Wordpress, Joomla, or Drupal, its possible an existing rule in the . htaccess file is interfering with the rule you are adding. .htaccess. .