Wordpress LScache Plugin: Separate headers (prefetch, css, etc) for different templates
Last Updated on: Wed, 15 Apr 2026 00:00:02 For e.g. these two are different templates and one has ads while the other doesnt. https://www.flixwatch.co/movies/hush/ https://www.flixwatch.co/tvshows/millennials/ The template with ads need to prefetch all the adserver dns but not the other one. Similarly the CSS and JS min files are also slightly different. Is there a way to give an option of different LiteSpeed header for different templates like you have in get_header(1) and get_header(2) for header-1.php and header-2.php? Hi @flixwatchsupport, may I know which LiteSpeed feature makes the page different? Or could you explain the steps for how to reproduce the error? Hi Stanley, There is no error as such. This is related to optimization of the headers being loaded on each page. I am asking if its possible to load different Litespeed headers on different pages or not? Which LiteSpeed header do you refer to? Normally you can set any header with PHP, page cache will not modify your header when caching the page. Hi, Im going to mark this topic Resolved, due to lack of activity. If you still need help, please provide the previously requested information. Well be happy to reopen the topic if necessary. Thanks!
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference