Skip to content

Blitz caches HTML with urls to "generate-transform actions" #125

@ostark

Description

@ostark

Hi Ben

One of our (fortrabbit) clients reported traffic spikes (10K instead of 100K requests per hour) recently. We noticed massive requests to urls like /index.php?p=actions/assets/generate-transform&transformId={transformId}.

When having a look at the html responses, we noticed that Blitz was the reason, since the URLs were cached.

The Craft {% cache %} prevents it actively
https://github.com/craftcms/cms/blob/3.1/src/services/TemplateCaches.php#L272

Is this implemented in Blitz as well? Is there a setting?
Or should the "template developer" take care of it?

Cheers,
Oli

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions