Forcing header cache control in 404 pages
Forcing header cache control in 404 pages
Forcing header cache control in 404 pages
I figured it out. There’s a SiteGround Optimizer plugin that apparently does caching for the site. It’s bizarre. I deactivated the plugin, then reactivated it and all my changes appeared on the site when logged out. So weird.
There is no general method of doing this that works for all plugins. And no generic WordPress steps to take or officially supported paths. Each plugin requires a unique answer and solution that is very specific to that plugin. Some plugins may not support this, while others already depend on doing this. You would need … Read more
No, there isn’t. WordPress does not provide page caching mechanisms, and has no APIs for it. There is no generic way to say example.com/page is now stale and needs recreating. Nor is there any generic way to pre-generate every page short of visiting them all. Every plugin uses a different solution with different APIs and … Read more
It’s hard to answer this given that each site is most likely different and each server is also configured differently. If these sites are individual WordPress installs then 1GB /30 sites is normal, an absolute bare minimum per site would be 32MB for apc.shm_size, this equals 960MB with no overhead. 32MB is in my opinion … Read more
If your content is rarely updated and that you have configured a caching solution to have what is commonly called a ‘supercache’. This means that ounce a page is cached, next call to that page will return a static content, without requiring a call to a php interpreter. Even on a cheap hosting, you can … Read more
What permissions should I set on each of wp folders? Users will need to upload various assets (images, pdfs, office docs, audio, video). I found this article here that seems helpful, but would like to get some input from folks having done this? This will be the same as any other web server. Whatever user … Read more
If you just want to clean the cache (using Chrome and Windows) you can: Open Developer Tools – F12 Right click on the reload button Choose an option from the dropdown menu – probably the last – “Empty cache and hard reload”
Sorry for this but I found out in the end that my ISP was doing some kind of caching on their end. Had to phone them and explain the issue. When they started seeing it too, I kwen the problem was with them. Thanks for all the comments btw.
Solved this by changing ‘Expires header lifetime’ on HTML & XML to ‘1 second’. Not sure if this will decrease performance on other things though.