If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

When a template depends on the contents of a page that changes, dump the cached copy

NEW
Unassigned

Status

Mozilla Developer Network
General
P2
normal
5 years ago
4 years ago

People

(Reporter: Jeremie, Unassigned)

Tracking

Details

(Whiteboard: [specification][type:bug])

(Reporter)

Description

5 years ago
What did you do?
================
I use the Page template to include several part of a page in another page. See : https://developer.mozilla.org/en-US/docs/WebAPI/Using_geolocation

What happened?
==============
When I'm done with the editing and go to the page, it display the last page fragment find with the Page template on every location I use the Page template.

I need to perform a hard refresh to have all the Page template displaying their own content properly.

What should have happened?
==========================
It shouldn't be necessary to perform that hard refresh to see the Page template placeholder with the correct content.

Is there anything else we should know?
======================================
This isn't technically a bug. That's how it's supposed to work. Template results are cached to improve performance.

However, we should make the system smart enough to catch dependencies like these and dump the cache automatically.
Summary: Needs a hard refresh to have the Page template working properly → When a template depends on the contents of a page that changes, dump the cached copy
Priority: -- → P2

Comment 2

4 years ago
I'm assuming this is still an issue?
Flags: needinfo?(eshepherd)
(In reply to ali spivak from comment #2)
> I'm assuming this is still an issue?

Yes.
Flags: needinfo?(eshepherd)
You need to log in before you can comment on or make changes to this bug.