-
Posted a reply to ESI + PHP Snippet., on the site WordPress.org Forums:
(original code works only on warm up)The ESI code does not work at all -
Posted a reply to ESI + PHP Snippet., on the site WordPress.org Forums:
Nothing works, only on warm-up :/ -
Created a topic, ESI + PHP Snippet., on the site WordPress.org Forums:
Hello! beginner dev here. I have tried to make this pi… -
Posted a reply to ESI not working, on the site WordPress.org Forums:
Joining. Thanks! -
Posted a reply to ESI not working, on the site WordPress.org Forums:
Try it your self, add your own IP to the look-up table. And every other… -
Posted a reply to ESI not working, on the site WordPress.org Forums:
Hmm not sure what you mean now.When I test "non-matching" IP's, I use a VPN… -
Posted a reply to ESI not working, on the site WordPress.org Forums:
Before I test, I change one of the IP's in the look-up table to my… -
Posted a reply to ESI not working, on the site WordPress.org Forums:
Hmm still the same issue add_action('litespeed_esi_load-custom_js_block', 'custom_js_block_load'); function custom_js_block_load() { $ipList = [ '192.168.0.*', '192.168.1.*',… -
Posted a reply to ESI not working, on the site WordPress.org Forums:
Can you enlight me on exactly where to add it? I am not sure. Thanks! -
Posted a reply to ESI not working, on the site WordPress.org Forums:
First visit: 192.168.0.1 (IP match – JI is injected)Second visit: 292.168.0.1 (IP mismatch- NO JS)Third… -
Posted a reply to ESI not working, on the site WordPress.org Forums:
Sorry, could you clarify and send your code? Thanks -
Posted a reply to ESI not working, on the site WordPress.org Forums:
It works the first two times: For example:First visit: 192.168.0.1 (IP match – pop-up is… -
Posted a reply to ESI not working, on the site WordPress.org Forums:
Oh sorry, here it is. Forgive me, I am new to this. add_action('litespeed_esi_load-custom_js_block', 'custom_js_block_load'); function… -
Posted a reply to ESI not working, on the site WordPress.org Forums:
add_action('litespeed_esi_load-custom_js_block', 'custom_js_block_load'); function custom_js_block_load() { do_action('litespeed_control_set_nocache'); // Ensures this block isn't cached ?> <script type="text/javascript">… -
Posted a reply to ESI not working, on the site WordPress.org Forums:
Hmm I still get the Javascript injected into page with non-listed IP's.Thanks for helping btw!… -
Posted a reply to ESI not working, on the site WordPress.org Forums:
But then it will be cached as always true? And the Javascript will always appear?1.… -
Posted a reply to ESI not working, on the site WordPress.org Forums:
(Code works great without LiteSpeed Cache deactivated) -
Posted a reply to ESI not working, on the site WordPress.org Forums:
To clarify my issue - the pop-up shall never appear if the visitor's IP address… -
Posted a reply to ESI not working, on the site WordPress.org Forums:
Hmm I don't know what that means.So the pop-up only appears for the listed address… -
Posted a reply to ESI not working, on the site WordPress.org Forums:
The demo works for me -
Posted a reply to ESI not working, on the site WordPress.org Forums:
Did my code work for you? -
Posted a reply to ESI not working, on the site WordPress.org Forums:
Does that code work for you?Add the code to your website with your IP address… -
Created a topic, ESI not working, on the site WordPress.org Forums:
Hello! I can't seem to get this code placed inside fun…