Cache problem in plugin


#1

Hi!

I register a new newsletter and save.
When I register another news, the previous newsletter continues to appear.
How to solve this cache problem?


#2

Hi, can’t understand you, which newsletter?


#3

The templates that are made by the plugin.
The previous template is always stored in the cache.


#4

Did you create new template and after refresh the old version is showed?
Please leave me a link to see or a video


#5

Exactly!
Here’s a link so you can check: http://homolog.taurusmulticanal.com.br/Dashboardv2/Newsletters/app/index.html
Until I refresh the page, all the data from the previous template remains.


#6

I can’t import or export anything, can you enable these things for testing?


#7

Could you explain me better? What do you need? Because to repair this cache problem it is not necessary to import or export something.


#8

How can I reproduce your cache problem?


#9

Pretty sure the issue he referring was not caching, the email were saved in localStorage each time you save it, and every time you refresh the page it’ll always load the email back from localStorage, this is the correct behavior, I’m guessing that he’s referring to this :slight_smile:


#10

Maybe, but he said that on registering new template, previous continues to appear!
Isn’t clear what it seems :slight_smile:


#11

Really! The problem was not a cache, but the template saved in localStorage. When cleaning (which was what I needed, even though it was not recommended), my problem was solved. Thank you!