Oh, sorry, forgot to say that there are cached files in the “cache” and “meta” directories.
I was referring to “supercache” directory when I said that there are only folders with no files in them.
There I have directory with the sub-domain name and inside directories with the names of the accessed files.
I’m having this exact same problem. Is there a solution? Is it something to do with my server? Because I was told my host that I was pretty much required to use Super Cache, but if it’s only working half-way that doesn’t really help me.
having the same problem
s-cache dir only show my domain folder
I’m experiencing this exact same problem. Any solutions?
POSSIBLE SOLUTION:
I had *exactly* this problem and eventually found it to be that the browser I was using had cookies that were preventing wp-super-cache from serving up static files. Try deleting all cookies for the site and see if that fixes it. It definitely did for me.
To test wp-super-cache, I had thought I was using a browser (Chrome, actually) that I hadn’t browsed my site with before. Now that I think about it, I’m not so sure. I had obviously done something anyway, because I had some cookies.
What I find strange is that wp-super-cache actually creates the empty directories in the supercache directory, but then doesn’t actually save the cached pages in there! Is this correct? maybe it’s because it would be saving a page for a user that was (potentially) logged in, which is obviously not a page you then want to serve-up to all and sundry.
edam – thanks for pointing that out. I tracked it down to the mkdir command running before I checked if an anon user was visiting or not. It’s moved up now and empty directories shouldn’t be created!