Git Product home page Git Product logo

Comments (9)

tarasiadis avatar tarasiadis commented on September 21, 2024

I try to find a solution as many websites need front end sessions to to able to manipulated user logins. eshops, blogs etc.

from engintron.

fevangelou avatar fevangelou commented on September 21, 2024

After extensive testing, I can't recommend Engintron for this use case. This is because Joomla hardcodes token on all forms making things more difficult for users who wish to login and bypass caching provided by Nginx. In your case, I would recommend setting up Varnish in front of your cPanel server and using this configuration:
https://snipt.net/fevangelou/the-perfect-varnish-configuration-for-joomla-websites/

Varnish is a lot easier to install. Just use yum as sudo and simply change Apache's port to something else under "tweak settings" in cPanel. Make sure you paste back this port in Varnish's configuration so things work as they should.

I'm actually considering adding Varnish as an option in Engintron. More soon :)

from engintron.

AgentGod avatar AgentGod commented on September 21, 2024

Hello,
I had some login issues with WordPress too, but I removed the line proxy_hide_header Set-Cookie in proxy.conf file and now it works fine.

from engintron.

AgentGod avatar AgentGod commented on September 21, 2024

Also if we have nice config for nginx will be much better than Varnish.
Varnish do not have ssl support, so with nginx in front we can have proxy, server for static files and ssl support - all in one

from engintron.

fevangelou avatar fevangelou commented on September 21, 2024

@AgentGod Can you confirm if the content is indeed cached after you edited the proxy.conf file?

from engintron.

AgentGod avatar AgentGod commented on September 21, 2024

@fevangelou I am new in VPS/WHM arena and I don't know exactly how to check it, but what I do is runnung /usr/local/apache/bin/ab -n 1000 -c 10 http://xxxxxxxx.xxx/ before and after, so before Engintron instalation I have 50 requests per second on clean WP install with default theme, after Engintron I have about 12000 requests per second /with and without edited proxy.conf file/, so I think pages are cached.

from engintron.

fevangelou avatar fevangelou commented on September 21, 2024

If you open your browser's dev tools (Chrome DevTools, Firebug etc.) and check the network tab, as you browse the site, you can see the server headers under the page's response entry. There you will see an option called "x-cache" which can switch from "hit" to "miss". Hit means the cache is working as you browse, miss means it doesn't.

from engintron.

AgentGod avatar AgentGod commented on September 21, 2024

Yepp, X-Cache is HIT, it's working.

from engintron.

fevangelou avatar fevangelou commented on September 21, 2024

Thank you. Updated Engintron.

from engintron.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.