Customizer Appearance Issue

I am developing new WP theme and it's in the phase of beta testing. So, it has succesfully installed and it's working on some sites. But, now there is one problem on particular host server. (shared hosting), on any domain I use. When I make changes in customizer there are occured and visible, but when I navigate in preview window to another page, for example: Sample page, changes made on front page are not registered but they are saved and shown on actual site link. When I do force refresh every change I made is shown properly. It seems there is issue with server, because everything works fine on another server. (and on localhost also) CSS is saved in special file using WP filesystem, maybe problem is with that, I don't know really.

Thanks in advance...

SK

Topic theme-customizer previews server css Wordpress

Category Web


It sounds like it could be a server side caching issue. Assuming the refresh you mention is to your browser, this would not necessarily fix the issue.

Shared hosting servers can have various tiers of server side caching and/or services like Cloudflare that can cause issues like you describe. Without knowing the specifics of your hosting environment its hard to rule out or advise a fix.

I'd suggest giving your shared hosting support line a call and asking what caching might be running, and seeing if you can flush it our turn it off to rule it out as the problem.

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.