[Plugin: WP Super Cache] Caching, a pain on OS X Server
So yeah caching is the greatest thing ever and everyone should use it, my previous server was a Ubuntu server and it worked great with everything related to WordPress!
Then i got lazy and wanted a GUI based Apache admin since i change alot of stuff all the time, i bought a Mac Mini Server and everything worked great, or so i thought!
After a couple of hours usage getting all the vhost up and running with WordPress i noticed that the login/logout feature didnt work properly, when i logged in everything worked as expected, but when i logged out it still showed me being logged in even though i wasnt, i had to make a hard page refresh on every page i still was logged in to or clear my browsers cach, this was without WP Super Cache
So after alot of research i cleared OS X Servers header cache with this:
Header Set Cache-Control "max-age=0" <FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|swf|mp3|mp4|css|js)$"> Header set Cache-Control "public" Header set Expires "Fri, 18 Nov 2011 20:00:00 GMT" Header unset Last-Modified </FilesMatch>
The thing is that even without WP Super Cache i had like 25-30ms per page load, even down to 9 at one time but after the above fix in my vhost.conf file the page load time was now about 400-500ms, i then installed WP Super Cache and everything worked as expected, i had version 0.9.8, yesterday i installed version 0.9.9.3 and everything broke again!
It works if i use “half-on mode” (fingers crossed) but i would like to use full mode, but then the logout doesnt work properly!
Anyone else that have run into this problem, there must be someone else that is running WordPress on OS X Server?
Would really appreciate any feedback!
- The topic ‘[Plugin: WP Super Cache] Caching, a pain on OS X Server’ is closed to new replies.