简体   繁体   中英

Mobile caching issue + Php not executing

Having a two stage issue that involves every update on my site taking 20 or so minutes to update on mobile devices, but not on desktops. There is no caching plugins, cloudflare, varnish caching or anything. Bluehost doesn't know whats up. My guess has been some sort of cdn for mobile somehow.

Also, some of my php is refusing to execute half the time on mobile. Only happens on the index page, and half the time. The script is valid. Nothing in the logs. It's been some serious scooby doo stuff... Any thoughts would be greatly appreciated.

Updates : Beginning to think it's a PHP setting or bug. Possibly Apache.

Updates v2: nginx seems to be serving up cached php pages. on the phone with the host.

Check what headers your site is sending, you can clearly see if browsercaching is enabled or not. But it is possible that your host is using a caching server like varnish too to accelerate the speed of your site. With the default varnish config enabled you can see in the website-headers if varnish is active or not.

For wordpress there is a plugin to flush the varnish cache which works really great.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM