File/directory names that are relative to the original URLs. Using w3tc and SSL

21 views
Skip to first unread message

Jason Bennett

unread,
Sep 11, 2015, 2:33:51 AM9/11/15
to Optimus Cache Prime
Hi there!


I hope all is good over in your neck of the woods. I have heard the things on the news, and I hope you and your loved ones are holding up.

Anyways, on to the question:


You state in your documentation "To use Local mode you need something which stores its cached pages with file/directory names that are relative to the original URLs.".

When using W3TC and SSL, it seems there are 2 cached pages created, and they are formatted like this (example is for contact-us page):

/page_enhanced/www.mysite.com/contact-us/_index_ssl.html

and like this:

/page_enhanced/www.mysite.com/contact-us/_index_ssl.html_gzip

I have OCP installed. Out of the box, can I still run OCP with these same parameters:
./ocp -l /var/www/mysite.com/wp-content/w3tc/pgcache -ls _index.html /var/www/mysite.com/sitemap_index.xml

with this cron

/2 * * * /home/patrick/ocp https://patrickmn.com/sitemap.xml

Thank you for making something so great!

Reply all
Reply to author
Forward
0 new messages