additional page caching

#1
hi
how can I cache additional pages? LS cache works for journal3/blog (blog category page) but it doesn't cache blog posts.

I'm using seo urls (blog/helloworld1) and routes are for example
www .mysite.com/blog?journal_blog_post_id=22
www .mysite.com/blog?journal_blog_post_id=15


Untitled-1.jpg
 

Unique_Eric

Administrator
Staff member
#2
Hi @codecpack ,

Could you message me with your real test blog URL? or could you provide a screenshot with browser dev tool enabled? I may want to see what's the response header looks like.

Best,
Eric
 

Unique_Eric

Administrator
Staff member
#4
The previous issue was due to 3rd extension with a new route.
Fix method:
- Add Blog Post journal3/blog/post to Page settings.
- also Blog Feed journal3/blog/feed

But your case is slightly different, I do see x-opencart-lightning instead of litespeed cache header. If x-opencart-lightning is a full page cache plugin, then LSCache will not working properly. Please try turning off the opencart lightning see if it helps.

Best,
Eric
 

Nace

New Member
#5
I think that Lightning is not a problem. I have disabled page cache as I use LScache.
If you looking for ...

x-litespeed-cache: hit
x-litespeed-cache-control: public,max-age=1200000
x-litespeed-tag: 9adbP_469, ....

You can see it if you open a product page. THis is proof that ext. Lightning doesn't affect LScache.
I also would like to see "x-litespeed-" on a category page but I was not a success with this issue.
 

Unique_Eric

Administrator
Staff member
#6
oh, I can see now. Somehow your home page did not show cache hit too.
Can you try above method to page settings and see if it helps blog page?
 
Top