Questions tagged [caching]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
41 views

$_SERVER['HTTP_ACCEPT'] is blank when caching is enabled

I had some working code within a template making use of the php variable $_SERVER['HTTP_ACCEPT'], to check for webp image format support from the user's browser. This was working fine, but after ...
0
votes
1answer
42 views

ExpressionEngine File Caching being cleared before scheduling

We are experiencing some performance issues with our website and on investigation it appears that the our caching mechanism doesn't seem to be working. For example, Template A loads Template B as an ...
0
votes
1answer
56 views

Clearing the cache via API

The Expression Engine documentation for caching explains that the caches are automatically cleared upon: Submission, updating or deleting of an Entry through API I need to clear the caches via my ...
1
vote
1answer
191 views

Browser Caching

I am trying to use the .htaccess file to "leverage browser caching" and get the users browser to cache the static assets. Right now, I have my htaccess doing the index.php rewrite then this block of ...
0
votes
1answer
68 views

static caching with stash and spa behaviour

our website is SPA, so only first request is loading the whole page with css/js stuff. every next load is an ajax request. the initial request caches the whole site as expected. code is: {layout="ech:...
0
votes
1answer
56 views

minimee v2 and ee2 caching

I am using expressionengine 2 and trying to compress css and js files, i can see the cached in the cache folder on my site root folder but the site does not display, it keeps loading. has there been ...
0
votes
0answers
115 views

Issue with ExpressionEngine caching file permissions

I am trying to allow caching for my site using expressionengine 2.0. In my config.php file, I have set the following two parameters: $config['cache_driver'] = 'file'; $config['cache_path'] = ''; ...
0
votes
1answer
362 views

What's the correct syntax for setting up memcached caching driver in EE 2.8+ with socket?

In EE 2.8 and above, you can select 'Memcached' as your 'Caching Driver' under "Admin" => "General Configuration". I am using one of Nexcess' "ExpressionEngine optimized" hosting plans, which lists "...
0
votes
1answer
56 views

Stash list empty on refresh

Edit After some debugging, the issue seems to be around the text content of the tweet or Instagram photo. Looking in the database, if I save the caption or tweet text, the data suddenly cuts of in ...
0
votes
1answer
149 views

Freeform Pro issue with Stash and CE Cache

I have an event template that pulls in a Freeform Pro field, via the Freeform Pro fieldtype, which relates a form to an entry. I'm having problems with a reoccurring error that says "Invalid form id(s)...
5
votes
3answers
170 views

a less expensive way of grouping entries by category

I'm trying to figure out if there's a more performant way of getting entries grouped by category. As you can see, I'm using NSM Categories module. Right now, this costing me 263 queries and 5 seconds ...
0
votes
1answer
49 views

Garbled stash:nocache output when in stash:set_list in a nested embed

I'm putting together a sort of ViewModel-ish setup and getting strange output from {stash:nocache} Here's the setup. First, the EE template: {stash:embed context="@URI" file_name="viewmodels:...
1
vote
1answer
233 views

CE Cache Static not serving cached home page

I am using CE Cache Static driver. All is getting cached and served as expected except for the home page. It is getting cached, but not served. I believe it is due to the below line of the htaccess, ...
0
votes
2answers
446 views

Unserialize Error in drivers/cache

Not sure really what type of issue this is, but I figure I'll ask here. I have a site that's running live on the server right now which has the following error: A PHP Error was encountered Severity: ...
0
votes
1answer
175 views

Does native EE caching support configurable redis db indexes?

After combing through the redis driver cache file (/system/libraries/Cache/drivers/Cache_redis.php), it appears that an option doesn't exist to allow a user to specify a redis db index. This is ...
1
vote
1answer
784 views

Enable Memcached in EE 2.9.2: problems

I am trying to get Memcached working on my EE (2.9.2) website. I have memcached installed correctly (both Memcache and the PHP extension) and running as a daemon: % ps -ef|grep memcache user pid ...
0
votes
0answers
106 views

Making sense of New Relic reporting

Recently the site we've been working on has been attracting a lot more traffic. We've been seeing high CPU spikes and recently installed New Relic. Already we've been able to pinpoint a bottle neck ...
0
votes
2answers
82 views

Control Panel won't log out, loops when logging back in randomly

I upgraded to EE 2.7.3 a few months back and recently added caching preferences to our .htaccess file for site optimization. Since these changes, I'm currently having two issues: Sometimes when I ...
1
vote
0answers
44 views

Changes in my Admin Panel don't always take effect

We've got two separate sites running with EE and on each we have the same problem: Sometimes changes made in the admin panel just don't take effect. An example which happens frequently: Login as ...
0
votes
1answer
145 views

How to cache Stash Data when EE native template caching doesn't work

I needed custom event grouping by category within a Solspace Calendar table. The only way I could find to do this was the following: Use {exp:stash:append_list} within {exp:calendar:cal} to store the ...
1
vote
2answers
771 views

Template Caching and Cache Times

I've been playing around with the caching settings on my EE site. I'm getting really good server response times and the getting the number of queries right down which is perfect. I've always avoided ...
1
vote
1answer
489 views

Stash cacheing with embeds

It was my understanding that Stash embeds are cached by default. I'm working on an ecommerce site where all template groups have EE templates similar to: {stash:embed name="file" context="@...
0
votes
2answers
194 views

Stash static caching not ignoring POSTs like I think it should

I am using Stash static caching (and it is AWESOME). I'm using Stash 2.4.5 and EE 2.7.2. I am also using Low Search 3.0.4. So I have the {exp:stash:static} tag on my homepage, which is great. But if ...
2
votes
1answer
305 views

How to prevent EE and CartThrob setting cookies for anonymous users?

I'm trying to set up Varnish to cache certain static pages on my site for users who have not logged in or added anything to their cart. Basically, Varnish will check whether the user has any cookies ...
3
votes
1answer
159 views

Stash saving on :get and :set performance benefits?

I'm still trying to fully wrap my brain around Stash's cacheing system. From the docs it seems that both :set and :get have the parameters save, scope, replace, and refresh. Is there a benefit to ...
1
vote
3answers
396 views

Can't tell if Stash cache is working

I have two chunks of data in the same 'viewModel' template: {!-- Getting data for kitchen list --} {exp:stash:set_list name="kitchen_list" parse_tags="yes" save="yes" scope="site" ...
2
votes
2answers
360 views

What is the benefit of using {exp:stash:static} over {exp:stash:cache}?

I am using fragment caching in most places with Stash to cache the data from ExpressionEngine on my current project, but there are a few instances where pages are totally static, such as the about ...
2
votes
1answer
192 views

Template Caching breaks Minimee

I am using Minimee 2.1.9 to combine and minify my css and js scripts on my EE 2.6.1 site. All works wonderfully if I don't have Template Caching turned on. When I turn on template caching for a ...
1
vote
1answer
91 views

How to quickly grab an entry's category (and child categories)

EE experts -- I must be missing something. It seems that the only way to grab the categories for an entry is via a sub-query, using GWcode, for instance. Categories are not readily available like ...
1
vote
1answer
74 views

Minimee 2.18 with Cloudfront

I'm still quite new to ExpressionEngine Been messing around with using JohnDWells' Minimee extention to serve minified .css and .js files from cloudfront rather than the site itself (Base URL) using ...
1
vote
1answer
3k views

How to clear EE native cache and CE Cache

I have got a site that has both EE caching applied and CE Cache module. I have updated the html mark-up in the template but my changes aren't showing through. There are several cache parameters for ...
0
votes
1answer
168 views

Template Caching - Blank Page

I am running into an odd error with a new EE site I am coding. I tried to turn on the template caching. When I load the page on the front-end website it works the first time but becomes blank on ...
1
vote
1answer
60 views

Agressive template caching in EE1

I've got an old EE1 site that I'm doing some minor updates to but I'm finding that it is very aggressively caching embedded templates. This means that when I make a change it doesn't appear on the ...
3
votes
1answer
176 views

Entries still displaying after their expiration date has passed, possible cache issues?

I'm developing a slideshow feature for a client where they enter entries into a particular weblog (the site is running on EE 1.7x) and set entry and expiration dates on each entry to determine when ...
6
votes
2answers
1k views

How to add cache headers to EE responses?

I have found that caching templates has greatly improved performance. But how can I further improve performance by having EE include cache headers to prevent the browser making the same requests time ...
7
votes
2answers
597 views

Template partials and caching via Stash and CE Cache

Wondering what the best method is for caching with Stash and or CE Cache when using Template Partials. Some questions come to mind: Is it best to use CE Cache in the wrapper (this seems easiest?) ...
6
votes
1answer
484 views

Should we use Stash caching along side CE Cache?

I'm wondering what the best option is for better site performance in regards to caching with Stash and CE Cache. A few questions come to mind: Should we be running them side by side? Any advantages ...