- Issue created by @brockfanning
- 🇮🇳India guptahemant
hi @brockfanning
Refer readme file for details https://git.drupalcode.org/project/purge_akamai_optimizer/-/blob/2.x/REA...
- 🇺🇸United States brockfanning
@guptahemant Thank you for the reply. I did read the README but unfortunately it did not clarify things for me, because of my limited understanding of the internals of this module. For example, it states "...this can be customized by implementing..." but I still have the question: should it be customized? In other words: Why would I want to customize it? Is there a downside if I do not customize it?
I recognize that it may be a lot of work to re-write the documentation with more details. But in the short term, what is your recommendation? Are there any steps that we should do after installing this module? Or is it reasonable to use this module just by enabling it without any customization?
- 🇮🇳India guptahemant
hi @brockfanning
This module was developed to complement the https://www.drupal.org/project/akamai → module, It had some downsides where it did not handled Akamai purge and caching related limits for the cache tags.
One configuration which you should definitely configure is the Cache Tag Prefixes setting, This setting can vary on each site. The main configuration would be the most common used tags across different pages of your site.
For site identifier i would recommend to configure it in code, Using it you can add common tag to purge your whole site in one request itself.
Additionally we have done a drupal con session as well, i will ensure to update the module page with those details, so that it easy to get more insight on end to end solution.
Here is a link to the session: https://www.youtube.com/watch?v=_ZPORuW1J_Q&list=PLigU0kVoiQFkvmN97VMvvG...
Presentation: http://docs.google.com/presentation/d/1kNkMEyXyUMw6YWuFGibSUIlV0I7q5dbSM...
Demo repo:
http://github.com/guptahemant/dce-demo-2021Hope this helps you further.
- 🇺🇸United States brockfanning
@guptahemant Thanks very much, that video cleared things up a bit. It was especially helpful to see what problems each configuration is meant to solve. Here's what I took away, as it relates to our site:
Cache Tag Prefixes: This is for cases where a particular URL has more than 127 tags. In our case we have a lot of tags on our "blacklist", so we are not concerned with going over 127 tags. So this setting is not so important to us.
Site identifier tag: I understand that this is important for multisite installations where multiple different domains might be used for the same Drupal site. In our case, we have only one domain, so this is not so important for us to customize.
Replace threshold: The wording here was confusing, but after watching the video I understand that this number is the number of pending queue items there needs to be before the entire site is purged, using the site identifier.
There are a few things I'm still confused about, but overall I'm much better informed now. Things I'm not 100% sure about are:
* The purpose of the "File identifier tag"
* How to interpret and act on the info under "Priority tags setup status".