PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Create different cached versions for every different browser

Quick Cache Plugin. Speeds up WordPress®.

Create different cached versions for every different browser

Postby jerry9 » May 16th, 2011, 9:58 pm

I would like to use a custom salt that creates a new cache for every different browser. According to the example described in the quick cache options page, in order to achieve a new cache for every browser I should enter $_SERVER["HTTP_USER_AGENT"] into the md5 salt field. When I try entering the code on my website I am told "Your MD5 Version Salt may contain syntax errors" and as a result I do not get a different cache for each browser. Any suggestion?

Thanks.
User avatar
jerry9
Registered User
Registered User
 
Posts: 1
Joined: May 16, 2011

Re: Create different cached versions for every different bro

Postby newcomer » May 17th, 2011, 4:41 am

I use $_SERVER['HTTP_USER_AGENT'] and no error :roll:

May be you can use : empty($_SERVER['HTTP_USER_AGENT'])?'none':$_SERVER['HTTP_USER_AGENT']
User avatar
newcomer
Registered User
Registered User
 
Posts: 4
Joined: May 13, 2011


Return to Quick Cache Plugin

Who is online

Users browsing this forum: No registered users and 1 guest