WP Super Cache rocks. There are a couple of things I cannot figure out though and was wondering if anyone has any suggestions.
1. Is it necessary to have WP Cache enabled with Super Cache? It appears to be that everything being cached by WP Cache is also cached by WP Super Cache and items are served from WP Super Cache by priority.
2. Is there a way to disallow content from being served based on user agent? I have figured out this is easy to do with rewrite rules for WP Super Cache but the default WP Cache I have not been able to figure out unless I just set “$cache_enabled = false;” in wp-cache-config.php. WP Super Cache still works in this situation as far as I can tell… cache files are created and served.
3. I was going to look at attempting to write a plugin but I am not a great coder and was having trouble finding documentation based on the WP Super Cache plugin section.
My overall goal is to serve different CSS files for mobile clients. I currently can do this by adding the mobile user agents to WP Super Cache so they do not cache files, then by adding rewrite rules to .htaccess in /, and last but not least by disabling WP Cache. Just not sure if this is the correct way to do things.
Any thoughts or suggestions are appreciated. Thanks. -Alex
- The topic ‘[WP Super Cache] Couple of questions?’ is closed to new replies.