This rule works only on domain / but all CSS/js /images can't get any cache from openlitespeed > is it normal?
yes.
LSCache store in cache each page like static html page that already contain needed js/css/images/font
depending from your page optimization settings like image and font
lazy load, html
minify, CSS
Combine & Minify , CSS
Inline , JS
Combine & Minify , JS
Defer , etc.
you can make that
all js/css/images/font included to html page code but you "must pay" by
size of stored LSCache.
for example of my site -
https://www.priazha-shop.com/alize-alpaca-royal-02
page stored in lscache:
- with lazy load (image/fonts) + minify (html/CSS/JS) without CSS Inline with default gzip compression occupy arround 50kB (not compressed ~480 kB)
- with CSS Inline with default gzip compression arround 80kB
yes, CSS Inline make cached page more responsible, but I have 10000 pages of products - 30*10000 = 290MB additional storage space only for one UA (desktop), and additional 290MB for mobile view, 290MB for Safari desktop(iMac), 290MB for Safari mobile (iPhone) - total 1 GB
that you must
decide what cache.