Hi,this solution is confirmed officially in Adobe documentation [0] (Invalidating Dispatcher Cache from a Publishing Instance).[0] Invalidating Cached Pages From AEM Thanks,Antonio
Hi,I think that we can move this configuration in a system console configuration, in that way only an administrator could enable or disable this configuration. By the way it seems that anyone provide a solution for this point.Seems that everyone suggest to use healthcheck for scheduler (which is rea...
Hi,what you can do is to use a jcr:property like configuration for activate or deactivate your replication listener.In shortly you can use a page properties dialog with a checkbox which enable and disable the replication listener and after saving the property you can send a notification if the confi...
Hi, as per my knowledge it depends on the DAM services that you want to integrate.In different project I've different situation e.g.:For a customer we perform a customization into the components dialog in order to open a popup with the external DAM during the configuration of the componentFor a cust...
Hi,probably you don't need to use some strange functionality but just implement this in front-end stuff.You can use a javascript framework which allow you to download the page in a pdf format.E.g. https://codepen.io/AshikNesin/pen/KzgeYX , check into this code that probably could be helpful for your...
Hi,probably you have some allowedPaths or allowedTemplate property into the template used for myfolder1.Try to check into the property in the template used for myfolder1 if you have some properties like the image below:Let us know.In order to test if it's related to this properties you can try to de...
Hi,I'm referring to your previous post:6. Re: AEM always returns 200 status code.yes, I created a 404.html and ResponseStatus.java under /apps/sling/servlet/errorhandlerIn the 404.html, the code is as:<sly data-sly-use.responseStatus="apps.sling.servlet.errorhandler.ResponseStatus"> <sly data-sly...
Hi,Have you already tryied to change the status into the ResponseStatus.java?Just to check if a different status code is returned let's try to do this:public void activate() throws Exception { getResponse().setStatus(407); }Let us know.Thanks,Antonio
Hi,I think that you just need to define an adapter strategy like the following snippet:@Model(adaptables = {SlingHttpServletRequest.class, Resource.class}, defaultInjectionStrategy = DefaultInjectionStrategy.OPTIONAL)Thanks,Antonio
Hi Stuart,No, this is a very bad practice!The dispatcher allow you to serve a very large number of request if the page is cached. If you need to remove all cache for each author page publish, probably you are working on a full loggedin site which need to have really dynamic information. If you are w...