Questions tagged [cache]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
19
votes
6answers
2k views

Stash vs. Embeds

I am using Stash only recently and was wondering how the performance is boosted over using embeds? I know there are a few less queries used in general, and I know you can subvert the parse order, but ...
13
votes
2answers
259 views

Explaining (native) caching to mortals/new EE developers

A common area of confusion for developers new to EE is caching. EE provides a number of caching options that operate at different levels and can interact with each other, sometimes in unexpected ways. ...
13
votes
3answers
2k views

Is the stash refresh variable the only means of breaking a cached set?

I'm trying to get into some more advanced use of Stash and I'm wondering about cache breaking. With some of the dedicated cache add-ons, you can set rules around cache breaking that are not simply ...
7
votes
3answers
384 views

Caching and flock()

I'm developing an EE site. I've used cache="yes" and refresh="60" parameters throughout. Locally, the site was running super quick (as expected). However, when I pushed to the staging server, the '...
6
votes
5answers
1k views

How to manage EE Cache files in Git?

I'm using Git for version control and have been battling with the system/expressionengine/cache folder a bit. Someone had removed it from the repo using an ignore, but then we got php errors because ...
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 ...
4
votes
3answers
624 views

clear the EE cache with cron job

What's the best way to clear the EE cache periodically without having to do it manually on sites? I know there's the Cron Clean Cache plugin but was looking for something more like a system URL that ...
4
votes
1answer
137 views

{categories} tag pair not parsing contents

I'm trying to clear ce_cache of a category given a specific entry's set of categories. This doesn't seem to work and I think it's because the {categories} tag pair isn't quite a full implementation of ...
3
votes
1answer
213 views

CE Cache or Solspace Static Page Caching: One Faster than the Other?

I've been developing CMS and now EE websites for so long I forget how fast a static website it. Had to save a CMS website as static earlier. Speeds went from approx. 200 to 300ms to 30ms. My own ...
3
votes
2answers
361 views

$db['expressionengine']['cachedir'] - what does it do?

I have searched Ellis Labs docs, but I can't find any details about the $db['expressionengine']['cachedir'] setting in the database.php config file. I recently 'fixed' this value (it was pointing to ...
3
votes
1answer
213 views

Website using old images… is this a cache issue?

I've built a site for a client that has a section which displays a number of entries. For each entry there is a thumbnail. There are currently 50 entries, and for just two of those entries the ...
2
votes
2answers
367 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
142 views

Stash cache site navigation from nav:ee

So building on the answers from my previous question, I'm trying to cache the main navigation on my site. As I understand it, the principle is to cache everything in one big chunk and then use the ...
2
votes
1answer
354 views

Prevent/Purge Local Caching of S3 Files with CE Image

We're running a portfolio site for a photographer using EE, and he's got about 2 gigs worth of JPEGs on S3. CE Image is used to create two versions of each photo in his portfolio (thubmnail and web-...
2
votes
3answers
1k views

EE Addon Module - How to store a value in a EE session?

I am needing to set and and retrieve a variable within this addon. For example on one page my module connects to a remote server and gets an auth code. I would then use that auth code for all ...
2
votes
1answer
146 views

Atom/RSS feed outputting all versions of entries

I'm currently working on an Atom feed (was previously RSS) that outputs 10 recent entries from the blog. That is working fine and looks great in most readers. However on both feedly and theoldreader....
2
votes
1answer
40 views

Channel Videos not saving new videos (EE2 site upgraded to EE4)

Background: EE2 site with channel videos among other plugins. Following a successful upgrade to EE4.3.1 the site is functioning correctly, and old videos are working. The issues begin when trying ...
1
vote
2answers
8k views

Unable to load the requested class: cache

I recently moved a site from local to staging and when I go to the front end or the back end (CMS) it throws this error... Unable to load the requested class: cache Carl Crawley tried to help me via ...
1
vote
3answers
401 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" ...
1
vote
1answer
790 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 ...
1
vote
1answer
128 views

Clearing Stash in Loops

I'm having an issue with stash holding onto some content when looping through records. I have a BrilliantRetail catalog listing page which loops through all the entries in a category. Within this tag,...
1
vote
2answers
135 views

Stash static cache and Freeform

I'm using Stash's static cache on a site and have wrapped my Freeform tags in {stash:nocache} but whenever I try to submit a form, I get taken to a page like /?ACT=XX with the error No input file ...
1
vote
1answer
76 views

ExpressionEngine CP pages always seem to cache

I'm helping run an EE site that's developed a really strange problem that my other EE installs seem to have, even if they are on the same webhost and reseller hosting account. What's going on is ...
1
vote
2answers
205 views

Absolute Results returns one page count when cache is turned on

Anyone else seeing this issue? This has been this way since at least 2.81 and I just upgraded to 2.92 and it's still happening Heres what I have: {exp:channel:entries channel="artworks" paginate="...
1
vote
1answer
99 views

Global Cache Fragment with Stash

So we have our navigation cached within stash to help rendering time. And as you can imagine, the navigation is present on every page. The problem is, for some reason this is creating a cache for ...
1
vote
2answers
37 views

URL Shows Outdated Version of Template

I had a template and set the template cache to yes. Then a little while later I renamed it ".template-name" to hide it and renamed another template that I wanted to take it's place "template-name". ...
1
vote
2answers
898 views

Config setting for disabling page cache

Is there a config setting for disabling page cache in EE? I've found a setting for disabling tag caching $config['disable_tag_caching'] but not one for pages. I'm using the Focus Lab master config ...
1
vote
1answer
77 views

cached relationship entries db error

I've been trying to clear the caches prior to running this EE upgrade but when I do I'm getting this error: A Database Error Occurred Error Number: 1054 Unknown column 'rel_data' in 'field list' ...
1
vote
2answers
99 views

Database settings cached?

Working on my first EE site (but have worked with several other CMSs) and I'm having issues with the database connection. I've pulled down files from a live site to set up a development version ...
1
vote
3answers
158 views

Category Name not Updating

I seem to be having an issue where EE 1.6.8 doesn't seem to like the changes I'm making to the site. For example. I've changed a category name from 'Contact / Careers' to 'Contact' but on the site it ...
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 ...
1
vote
0answers
56 views

Is EE able to handle this db/site ok?

It's quite a "general" question. Our site has 60k posts. Each post has 10-15 relations and almost 50 custom fields and several categories options. Mostly focused in one channel. One category group ...
1
vote
0answers
64 views

Manually Clearing Native Cache Only Clearing Primary Site, Not Current MSM Instance

Overview Current System EE 2.9.2 MSM 2.1.7 Build: 20140715 Redis server v. 2.8 Current cache driver is set to Redis We have enabled EE to use native redis caching and have found that when we ...
1
vote
0answers
147 views

CE Cache - blank pages

Is anyone experiencing issues with CE Cache lately? Several sites with CE Cache installed and using static caching have suddenly shown white pages with the {exp:ce_cache:stat:ic} on the page. It's ...
0
votes
1answer
161 views

how to populate ../static_cache/

What do I have to do to get files into the /static_cache/-folder so I can use the {exp:stash:cache}-tag. I have yet again been iterating through the new stash-docs over and over but I cant figure it ...
0
votes
1answer
59 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 ...
0
votes
1answer
95 views

can not retrieve values from cache in custom module

I am building a module and I set the cache in the form function, which will be retrieved in the insert_new_email function. I can retrieve the cached data in the form function, but I can not in the ...
0
votes
2answers
452 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
23 views

Clearing cache manually

I'd like to make a web page for content authors to clear cache, without giving their group access to Utilities in the CP. So I'll have to manually clear cache. Is it as easy as clearing what's in ...
0
votes
1answer
78 views

Can I cache templates indefinitely?

For each template in its Settings, we have Enable Caching? and Refresh Interval. I want to enable caching, but since my content is pretty set, want it to serve cache forever. (At least until the "...
0
votes
2answers
40 views

Where can I see the website processing time

Where can I see the website processing time, serverside? I mean how much time it took to compile the site for delivery. I installed the ee debug toolbar. But which of this data is it? The reason I ...
0
votes
1answer
19 views

Can I load pages into cache en masse?

It looks like when you have template caching on, a page gets cached after it's visited. Then subsequent visits are served from cache. When something triggers the cache to empty, such as an entry ...
0
votes
1answer
171 views

CE Image, Assets, S3 and Caching

We’re using CE Image along with Assets images stored in S3. We’ve used curl to go through all the pages so that CE Image does its thing to the image and stores its “made” image in S3. The hopes is to ...
0
votes
2answers
315 views

How can I set up nginx to serve Stash's static cache?

Mark Croxton helpfully provided this sample .htaccess for using Stash's static cache on Apache servers. Unfortunately, I'm running this particular site on nginx, and I haven't found any good answers ...
0
votes
1answer
44 views

Caching Solutions For A Customized Ticket System

I have created a ticket system in EE that is customized for reporting and alerts. It's all front-end but I want to make sure that it's snappy. Is there a good caching add-on you have used that is ...
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)...
0
votes
1answer
177 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 ...
0
votes
1answer
67 views

Stash cacheing a large nav

I have a site with a large megamenu which is made up of the following types of code: Setting category lists {exp:stash:set_list name="product_categories" parse_tags="yes" save="yes" ...
0
votes
1answer
146 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 ...
0
votes
1answer
53 views

Decreasing page load time with Solspace Freeform

I wanted to see if anyone had any suggestions on how to optimize the speed of Solspace Freeform. We've noticed the template caching doesn't help as it generates random numbers in hidden tags combined ...