Answer the question
In order to leave comments, you need to log in
How to cache private files created with image_style_url()?
field_file puts the files in the private directory then I need to render images styled with image_style_url() , drupal creates them and puts them in /private/styles/posts/private/attachments and renders them to the page but every time the page is loaded it is re-created and this takes quite a lot of time, since there are about 200 pictures, how to cache them?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question