Logic behind Cache Tags




Wordpress LScache Plugin: Logic behind Cache Tags

Last Updated on: Wed, 15 Apr 2026 00:00:02
Is there any logic behind how cache plugin generates prefix for cache tags? I see a number for prefix. What is this number based on? The reason why I ask for it is, that I develop an alternative crawler. Its almost finished, but to purge the cache I need the cache tag to only purge the cache that is generated by the plugin. Otherwise I purge the entire cache and this no good. This topic was modified 7 months, 2 weeks ago by CacheCrawler. https://github.com/litespeedtech/lscache_wp/blob/master/src/tag.cls.php the source code is here what number you refer to ? what number you refer to ? Number? Which number? You mean my number in prefix? you said I see a number for prefix. What is this number based on? Number is: 824_ Is there no (general) tag available that allows to purge the cache without purging the entire cache? the prefix is always there to differentiate the sites when one user account (like cPanel) hosts multiple sites its defined by path define( LSWCP_TAG_PREFIX, substr( md5( LSCWP_DIR ), -3 ) ) AH! I will have a look on it. Thank you! Tested and it works! Perfect! You made my day!



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference