0

Is there a way to delete a file of the boost cache? On my site users can submit content and i need that only the previous node of the currently created node to be deleted(flushed). When I flush all my pages after creating a node my site gets slow. So i wonder if this could be made.

3
  • 1
    can you elaborate this "i need that only the previous node of the currently created node to be deleted(flushed)"?
    – Aboodred1
    May 19 '13 at 20:28
  • Did you mean "I need to flush previous version of edited content from Boost cache immediately after edit"? Boost flushes cache of a given node on it's edit. Not flawlessly, but it does just that. So either you encountered a bug in Boost (not impossible, as managing cache is complicated task), or we need to know more about your setup to help.
    – Mołot
    May 20 '13 at 9:31
  • I'm having a site where anonymous users can upload a link of an image and a title of the image. Then from the link and title through my custom module is created a node. I'm having a lot of users who are uploading it and creating nodes. From that goes that the boost flush is frequently executed and all my cached files are flushed. For better performance it would be better to just delete the previous node couse my nodes are linked with next and previous links.
    – hakala
    May 24 '13 at 17:11
2

You need to install the Cache Expiration module:

This will delete the exact files that were impacted by the content edit.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.