- This topic has 16 replies, 2 voices, and was last updated 5 years, 8 months ago by
Sebastian.
Author | Posts |
---|---|
adkoen
June 19, 2019 at 11:40 am
|
Heads up! this post was created when Microthemer was at version 5. The current version is 7. Some references to the interface may be out of date. Hi, |
Sebastian
June 19, 2019 at 11:58 am
|
Hey Koen, I noticed this too yesterday and I’m currently working on it. Are you running Microthemer on an nginx server by any chance? Cheers, |
adkoen
June 19, 2019 at 11:59 am
|
Yes, I do work on an nginx server. |
Sebastian
June 19, 2019 at 12:04 pm
|
Ah, thanks for confirming. Do you use Kinsta by any chance? |
adkoen
June 19, 2019 at 12:07 pm
|
Nope. I’m with Gridpane currently. |
Sebastian
June 19, 2019 at 12:10 pm
|
OK, so it’s likely a general issue with nginx. Right now I know that something is causing MT’s request to load active-styles.css?reload=[timestamp] to return 502 errors intermittently. Sometimes the file doesn’t load at all. Sometimes only part of the file loads. I’ll update you when I know more. |
adkoen
June 19, 2019 at 12:11 pm
|
OK, I can wait a day or two if needed. Otherwise I have to do this another way ๐ |
Sebastian
June 19, 2019 at 12:24 pm
|
Got it. I’m not working on anything else until I get this sorted so hopefully a fix will be ready soon. |
adkoen
June 19, 2019 at 12:25 pm
|
I just want to say don’t worry about me! I’ll be fine if it’s not working right away ๐ |
Sebastian
June 20, 2019 at 1:22 pm
|
Hey Koen, I’ve been dealing with my nginx hosting support for a couple of days now, and I think we’ve finally had a break. They are still investigating exactly what’s going on, but it seems that disabling the following setting in nginx.conf solves the issue:
About that setting: https://easyengine.io/tutorials/nginx/open-file-cache/ Could you see if Gridpane can do this for you? Cheers, |
adkoen
June 20, 2019 at 1:52 pm
|
Unfortunately this setting is already disabled on my server. |
Sebastian
June 20, 2019 at 5:28 pm
|
How frustrating. OK, there must some other differences in our configuration. Kinsta would not share their nginx.conf file with me. The only changes they made to fix the issue were the following:
They supplied the second setting just now. I don’t suppose it will do anything if the first is set to off, but worth a try just in case. I’ve also released a new version of Microthemer (5.8.0.0) which addressed some PHP warnings. Again, I doubt it will solve the issue for you but worth a try. I will see if I can find any open_file_cache related nginx settings. Failing that, I will try out a client side SASS compiler, but this will likely take a week to integrate. And will be experimental. Cheers, |
adkoen
June 20, 2019 at 5:31 pm
|
Don’t do this just for me Sebastian. Really. I moved back to Cloudways and all is working like a sunshine for the site I’m working on. I don’t have time anymore today as I’m wrapping things up. I’ll make sure to give that setting and the new version a try tomorrow. I’ll update here. |
Sebastian
June 20, 2019 at 5:35 pm
|
Hey Koen, I appreciate you giving me some slack. But I always prioritise bugs above anything else I’m working on. It’s just my approach to development! Cheers, |
adkoen
June 20, 2019 at 5:44 pm
|
Yes, but this seems to be quite a bug. I find your way of doing things a great approach to development, but in the case of … no need to worry about me ๐ |
Sebastian
June 20, 2019 at 5:47 pm
|
I appreciate that Koen ๐ |
Sebastian
August 5, 2019 at 5:27 pm
|
OK, so six weeks later and the new client-side SASS feature is available as a beta. Basic integration did indeed take one week. It took an extra week to support SASS @imports. But the main challenge was making the compilation process so fast that it adds almost an imperceptible number of milliseconds to the user workflow, even on large projects. It took 2/3 weeks to write a selective compile manager to make that possible. And a further 2 weeks to test and tweak. Learn more about the beta here: https://themeover.com/forum/topic/new-ultra-fast-sass-beta-testers-needed/ This feature should significantly speed up your workflow, as well as solve the NGINX issue ๐ Cheers, P.S. the reason I spent so long on this is because near instant SASS compilation is necessary for using SASS to deliver Microthemer GUI variables and presets (mixins), a dream I’ve had for a while. |