Create a search module, enable "OpenSearch Autodiscovery"
Enable caching for the Joomla site (conservative in my case, probably also progressive)
Load a page on the frontend several times.
Opensearch LINK tag visible in HEAD on every page load.
LINK tag is only visible the first time the page is loaded. No tag is visible on subsequent loads when there is cached version of the module stored in cache/mod_search
I fixed this temporarily on my site by disabling caching for the search module.
Is there a framework in place for including tags for cached modules? I would assume the same situation might arise if a cached module loads a stylesheet or adds a javascript file. Is the "nohead" parameter in the JCache class related to this?
Status | New | ⇒ | Confirmed |
As it is currently coded, yes. That doesn't necessarily mean it is the right behavior.
It depends on how you look at it. As the code is written, it is not an issue. However, is the behavior as described when this issue was opened one that should not be addressed?
Status | Confirmed | ⇒ | Information Required |
Status | Information Required | ⇒ | Needs Review |
Status is set on "Needs Review".
Labels |
Added:
J3 Issue
|
From my perspective it is definitely a bug because I would expect/want this to be on every page and it doesnt make sense to remove it from the cache. We already have code if a cached module loads a stylesheet or adds a javascript file to make sure thats always there
Thank you for raising this issue.
Joomla 3 is now in security only mode with no further bug fixes or new features.
As this issue doesn't relate to Joomla 4 it will now been closed.
If we are mistaken and this does apply to Joomla 4 please open a new issue (and reference this one if you wish) with updated details for testing in Joomla 4.
cc @zero-24
Status | Needs Review | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2022-08-23 19:23:30 |
Closed_By | ⇒ | zero-24 | |
Labels |
Added:
No Code Attached Yet
Removed: ? |
Confirmed on 3.5.1
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9065.