4
Meta
4y

Recently our management department discovered the advantages of setting up CloudFlare DNS and their CND for a website. In our case that made perfect sense and also helps a lot with the performance.

A while ago someone noticed that in the backend of the CMS the site uses, stuff that is being loaded via AJAX is not loaded at all and just displays an empty container.

3 hours into debugging I discovered why: Someone thought it would be a good idea to base a condition on whether there was a certain HTML comment inside an element, rather than using a class or something else.

A comment.

The HTML minifier removed that, so I ended up having to disable HTML minifying, at least for the backend.

Thanks, whoever thought it would be a good idea to base logic on the existence of a comment.

Comments
Add Comment