Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Browser caching

    WordPress (Developer)
    4
    8
    452
    Loading More Posts
    • 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.
    • S
      samsls last edited by

      Hello there!
      First, big up for the team behind Cloudron!

      I'd like to activate browser caching into wordpress developper app. Is it possible? How?
      Thanks in advance.

      murgero 1 Reply Last reply Reply Quote 0
      • murgero
        murgero App Dev @samsls last edited by

        @samsls Just install the jetpack plugin or other similar cache plugin as you would normally in wordpress.

        --
        https://urgero.org
        ~ Professional Nerd. Freelance Programmer. ~
        Matrix: @murgero:urgero.org

        S 1 Reply Last reply Reply Quote 0
        • S
          samsls @murgero last edited by

          @murgero I'm using hummingbird but it asks to modify nginx.conf. That I do normally but in cloudron i'm lost.

          murgero 1 Reply Last reply Reply Quote 0
          • murgero
            murgero App Dev @samsls last edited by

            @samsls Wordpress app does not run on nginx - you will need to use a different plugin for caching. I usually recommend jetpack as it's the official plugin by the wordpress organization.

            --
            https://urgero.org
            ~ Professional Nerd. Freelance Programmer. ~
            Matrix: @murgero:urgero.org

            S 1 Reply Last reply Reply Quote 0
            • S
              samsls @murgero last edited by

              @murgero hummingbird comes from WPMU dev but it's the same.
              Since i can apply conf to apache, I did what you said and it works so far.
              By the way, if i understand correctly, wordpress dev runs behind apache and there is ngninx as reverse proxy?

              girish 1 Reply Last reply Reply Quote 3
              • girish
                girish Staff @samsls last edited by

                @samsls said in Browser caching:

                By the way, if i understand correctly, wordpress dev runs behind apache and there is ngninx as reverse proxy?

                That's correct

                humptydumpty 1 Reply Last reply Reply Quote 1
                • Moved from Support by  girish girish 
                • humptydumpty
                  humptydumpty @girish last edited by

                  @girish Out of curiosity, is there a performance hit/difference when using Nginx as a reverse proxy vs running WP directly on Nginx?

                  girish 1 Reply Last reply Reply Quote 0
                  • girish
                    girish Staff @humptydumpty last edited by girish

                    @humptydumpty adding another layer will have some performance impact but it should be barely noticeable (plus the security benefits of such a setup are immense). nginx does nothing other than https <-> http on Cloudron.

                    1 Reply Last reply Reply Quote 2
                    • First post
                      Last post
                    Powered by NodeBB