<commit_before><?php

namespace App\Services;

use App\Board;
use Cache;

class NavigationService
{
    public function cachePrimaryNav()
    {
        return Cache::rememberForever('site.nav.primary', function() {
            return $this->renderPrimaryNav();<commit_msg>Added second cache tag for hidden services on gnav.<commit_after><?php

namespace App\Services;

use App\Board;
use Cache;

class NavigationService
{
    public function cachePrimaryNav()
    {
        return Cache::rememberForever(is_hidden_service() ? 'site.nav.primary.tor' : 'site.nav.primary', function() {
            return $this->renderPrimaryNav();
{'fraction_non_alphanumeric': 0.11446740858505565, 'fraction_numerical': 0.0, 'mean_word_length': 3.9606299212598426, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7569077', 'n_tokens_mistral': 178, 'n_tokens_neox': 175, 'n_words': 43}