• We've added extra Spam Protection. if you get problem with account registration / registration rejected. please contact us
  • You need minimum 10 good posts for download files. Don´t push posting-counter with posts copy paste, thx, good, smileys..... Read This.
  • Note: don´t push posting-counter with messages like thx, good, haha, only use reactions! threads will be deleted without any comment or notification. Read Rules.
XenForo

Add More Guest Page Cache Variations

XenForo

Executive Member
Staff member
Administrator
Moderator
Joined
Jan 1, 2016
Messages
923
Reaction score
1,238
Points
93
XenForo submitted a new resource:

Add More Guest Page Cache Variations - How to add more guest page cache variations

  • Open /xrc/XF/PageCache.php, backup a copy to your local computer.
Find this line (#261) :

Code:
return 'page_' . sha1($uri) . '_' . strlen($uri) . "_s{$styleId}_l{$languageId}_v" . self::CACHE_VERSION;
Change into :

Code:
return 'page_' . sha1($uri) . '_' . strlen($uri) . "_s{$styleId}_l{$languageId}_v" . self::CACHE_VERSION.'_c'.constant('MY_CUSTOM_VARIABLE');
  • Save.
Now you can have 1 more variation for guest page cache.
Read more about this resource...
 

riyo

New member
Registered
Joined
May 4, 2019
Messages
10
Reaction score
5
Points
3
Age
42
Would you recommend it for very active forums?
 

anarchy9406

New member
Registered
Joined
Feb 24, 2019
Messages
5
Reaction score
0
Points
1
Age
23
Thank you for your division(sharing). bro
 
Top

Dear User!

We found that you are blocking the display of ads on our site.

Please add it to the exception list or disable AdBlock.

Our materials are provided for FREE and the only revenue is advertising.

Thank you for understanding!