Setting Cache Expires on public/ directory in Mojolicious::Lite
425 views
Skip to first unread message
_lsr
unread,
Jun 19, 2012, 5:22:27 AM6/19/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mojol...@googlegroups.com
I'm having trouble wrapping my head around how to set Cache-Control information for images, css and js in my public/ directory. I have an app that is being proxy-ed through apache and I want content in that public/ directory to be cached for a year. Can anyone point my to a howto, my googling skills have failed me on this one.
sri
unread,
Jun 20, 2012, 6:01:12 PM6/20/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Mojolicious
> I'm having trouble wrapping my head around how to set Cache-Control
> information for images, css and js in my public/ directory.