kayakfishingaddict
Forum Replies Created
-
Forum: Plugins
In reply to: [LiteSpeed Cache] Ad Serving Plug-ins, LiteSpeed, & ESIOk, I’ve come back to answer my own question after researching LiteSpeed ESI. The answer is, YES ESI can be used to do this. And, even better, it’s super easy to do it!
SOLUTION
ESI has a shortcode method for identifying something as being enabled for ESI! You can read about that here:Turning WordPress Shortcodes into ESI Blocks
So, for Advanced Ads, Ad Rotator, etc., you can essentially have that port of the page render with a different TTL than the rest of the page. Just modify the shortcode specification with three things:
1. esi – make that the shortcode identifier at the beginning of the shortcode
2. cache – you can specify public | private depending on the cache you’re targeting. For Ads that aren’t targeted you can choose public. Otherwise you can choose private if it’s for that specific user. The default is public.
3. ttl – you can specify a ttl in seconds if that block should have a different ttl than the page; the default is the ttl of that page.So, if you use shortcodes like this to identify spots for an AD:
[the_ad_placement id=”between-posts-leaderboard-728×90″]You can modify the caching of this block to make it never cache, and thus always render ad rotations because the php wordpress code is hit for the block every time, like this:
[esi the_ad_placement id=”between-posts-leaderboard-728×90″ cache=”public” ttl=”0″]Pretty easy and it seems to work well although I’m not sure of the performance hit.
- This reply was modified 3 years, 1 month ago by kayakfishingaddict.
Forum: Plugins
In reply to: [LiteSpeed Cache] Ad Serving Plug-ins, LiteSpeed, & ESIYep, I knew about that and listed adPlugg as one of those interesting solutions I may look into. I’m just wondering how it would work with ESI and if that technology would essentially allow WordPress itself to imitate an ad server by allowing the TTL to be set independently.
Forum: Plugins
In reply to: [Multiple external product URLs for WooCommerce] Import / Export info via CSVI just logged in to ask for this feature. You can export products from your products tab. It exports into a CSV, however, the additional buttons from this plugin are not included. I’m not sure what would happen if you decided to import that saved CSV. Perhaps the extra links would still be there as they may be stored in another database table.