• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
sitecountry_logo

How can I configure website caching using Directadmin web control panel?

Scheduled Pinned Locked Moved Public/Premium/Elite Cloud
2 Posts 2 Posters 129 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    captain79
    wrote on last edited by
    #1

    How can I configure website caching using Directadmin web control panel?

    1 Reply Last reply
    0
  • A Offline
    A Offline
    aryan
    wrote on last edited by
    #2

    Website caching can improve your website's performance by reducing page loading times. Here’s how to configure website caching using Directadmin web control panel:

    Access Directadmin Control Panel: Firstly, log in to your Directadmin Control Panel using your credentials.

    Go to "All Features": Navigate to "All Features" via Directadmin control panel.

    Select "Custom HTTPD Configurations": Once you are on the "All Features" page, select "Custom HTTPD Configurations."

    Choose Domain: Select the domain name for which you want to configure caching.

    Go to "apache2/conf": Navigate to the "apache2/conf" directory, and select the file "extra/httpd-includes.conf."

    Enable Caching: Add the following lines to the “httpd-includes.conf” file to enable caching:

    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresDefault "access plus 1 week"
    ExpiresByType text/html "access plus 1 seconds"
    ExpiresByType image/gif "access plus 1 month"
    ExpiresByType image/jpeg "access plus 1 month"
    ExpiresByType image/png "access plus 1 month"
    </IfModule>

    Copy
    Save Changes: Once you have added the above lines to the file, save the file and then exit the editor.

    Restart Apache: Restart Apache for the new caching rules to take effect. You can do this by clicking on the restart button provided in Directadmin web control panel.

    That's it! These are the steps to configure website caching using Directadmin web control panel. Configuring caching can speed up your website significantly by storing frequently accessed information in the server's memory.

    1 Reply Last reply
    0

  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups