harlekinx
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Super Cache] How to: Serve different cache based on cookies etc.hi donncha,
i made the previous changes to the config file and everything works fine now.
For the record: it seems to me, that supercache plugins which edit the cachekey via wp_cache_key only work if you set super_cache_enabled to false. Caching still works as cache_enabled is activated. So i don’t know if there are any drawbacks?
I figured out that supercache plugins are executed even if no cache was generated (because it was a known user). Is this a desired behavior?
Is your Amazon wishlist up to date? – http://www.amazon.co.uk/gp/registry/35ZCGIU2AH4NB
Forum: Plugins
In reply to: [WP Super Cache] How to: Serve different cache based on cookies etc.Hi Donncha,
sure it is a solution for the fancybox-problem, but not for the location-problem. Can you have a short look on my site.
In the upper right corner is a dropdown containing flags. If you switch to the austrian flag, you only see content which is appropriate for austrians. This works because of the GET Parameter (supercache doesn’t cache requests with GET parameter). Now the cookie pj_lang is set and on the next request it should load a cache file with the Countryname in the cachekey, but this doesn’t work.
Now i may have found a solution for my problem but i’m afraid to change this setting without your insights.
A excerpt of my current wp-cache-config.php:
$cache_compression = 0; //Added by WP-Cache Manager $cache_enabled = false; //Added by WP-Cache Manager $super_cache_enabled = true; //Added by WP-Cache Manager $cache_max_time = 3600; //in seconds //$use_flock = true; // Set it true or false if you know what to use $cache_path = WP_CONTENT_DIR . '/cache/'; $file_prefix = 'wp-cache-'; $ossdlcdn = 1; //Added by WP-Cache ManagerAs i stated befor i think the problem is caused by the supercache files. And everything worked fine on a old version of wp-supercache, where only wp-cache file were generated (i’m not one-hundret percent sure about this 😉 ).
Is it save to change the settings to
$cache_enabled = true; //Added by WP-Cache Manager $super_cache_enabled = false; //Added by WP-Cache ManagerWhat do you think?
Forum: Plugins
In reply to: [WP Super Cache] How to: Serve different cache based on cookies etc.hi, i’m still stuck on this one. Do you have any further suggestions?
Please help.Forum: Fixing WordPress
In reply to: Supre CacheHaven’t heard from this option by now. Sounds like you have to active the right plugin. Maybe a editor plugin is missing…
I’m completely new to smush-it 😉
As far as i have tested smushit-1.3.5 works fine on WP 3.1.2 although i sometimes get ‘Could not find /usr/www/users/pjat1/root/wp-content/uploads/’ when i call smushit manualy via the mediathek.
-Alex
Forum: Plugins
In reply to: [WP Super Cache] How to: Serve different cache based on cookies etc.Yes i’m sure it’s active (log-file is generated).
Javascript would work only for those who have js enabled (10% doesn’t according to analytics) and i can’t get the http_referer. The code above is only a snippet of my script. I also make different boxes for different referers. Another plugin of mine (doesn’t work anymore) handles the location-setting. I show different posts in the stream for different locations (Austria – Germany). So JS isn’t really a solution.
Do you have another guess why it doesn’t work anymore. Or can i stop the process of making supercached pages and only serve the wp-cache-md5 files? Is this a good idea? Why are wp-cache- files and supercached files generated anyway?
Thanks
-AlexForum: Fixing WordPress
In reply to: Supre CacheJust delete wp-content/advanced-cache.php. Wp-Supercache generates this file automatically and filles in the correct path. I assume you have copied thie file from another installation and the path is wrong.
You must do this on your FTP.
If the file isn’t generated than deactivate and reactivate wp-supercache.
-harlekinx