New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SSI includes always passing to index.php #595
Comments
What is the question or issue? |
What is expected is that nginx or apache will serve the includes that are cached and not go through index.php |
This should work. Do you have an |
For sure, as I mentioned in my first comment: in the cache directory I have
I think some issues with slashes and %2F |
if I change: from: to: works! |
And you’re running the latest version of Blitz? I believe this was addressed in 4.6.0. |
Blitz 4.9.3 And tested on |
I think this the problem... you are not encoding the url and on the server it is encoded. I understand that the webserver should know this, but something is wrong. I don't know if it's a lack of configuration on my side or if it would be best to normalize this |
It sounds like the folders in the |
I started this project in November... this is a new fresh server and clean database, etc... I'm pretty sure I'm already way ahead of 4.6.0 |
I cleared all possible cache, but it's still the same thing |
I’m wondering if the change in 4.6.0 was redundant, after all. Can you please install and test this bug fix, clearing the cache first, by running |
It works! 🥇 |
Changed and released in 4.9.4, thanks for reporting this. |
I have SSI includes
<!--#include virtual="/_includes/?action=blitz/include/cached&index=2395729283" -->
in the cache directory I have
'action=blitz%2Finclude%2Fcached&index=2395729283'
Tested with nginx and apache
Apache config:
nginx config:
The text was updated successfully, but these errors were encountered: