Hi there,
I’m trying to create my own amp plugin. Right now I’m just replacing with in the AMP version of a page. It’s working, but problem is that it seems that grav is using the same cache versión for both pages. So if I clear cache and try to load my amp version:
http://blablabla.com/home.amp
all are replaced with
But if I try to load the normal html version
http://blablabla.com/home
images are still replaced with
If I clear the cache and load first the normal html version
http://blablabla.com/home
are not replaced, but when I try to load the amp version
http://blablabla.com/home.amp
no are replaced with
Of course, I don’t want to disable cache for this pages since they need to be fast.
Any thoughs?
Thank u