Site logo

Archived topic

Solved: Live preview in customizer partly broken / Nginx

2 replies · Started by Jaakko Pöntinen on April 19, 2018

Viewing posts 1–3 of 3

Hello.

This is actually a post about a solution that worked for me. I trashed a client's previous base theme/builder because of reasons unfortold.

Got GP on, brought everything back up - boom, good ol' customizer broken, live preview mostly not working.

The Webserver runs Nginx, so I poked around and finally, decided that it could be a server-side cache thing. So I downloaded Nginx Helper and force-purged all cache. This is not recommended if you have a huge network of sites with a gazzillion things cached - but for me, it was perfect.

And you know what? Customizer live preview got fixed. I'd never have believed it. I've had broken customizers before and have just been stumped. The great interweb also has veeeery little information on how to solve these problems. Luckily, I got the clues needed to solve the problem.

Wee!

Cheers all.

Glad you got it working! The Customizer can be excluded from any server caching in your nginx.conf file I believe :)

Thanks for sharing!

Hey,

Thanks for the tip, I'm gonna remember that! :O

- JP

This archived topic is closed to new replies.