You may be hitting this issue if:
- You see see flashing images when changing scenes using the instant transition
- Images don’t appear as quickly as they should, even though you’re pretty certain they’re ‘preloaded’
- After updating and re-uploading your document, reloading the .html page doesn’t refresh your document.
This is most likely an issue with server caching, and commonly occurs on sites hosted on Dropbox’s public folder. Dropbox does not cache any content in public folder, so you’ll need to use a different web host to resolve this issue.
Another common cause of this issue is extremely large images. We’ve put together a guide to decreasing the file size of your document here.
To resolve this issue on your web host (Not Dropbox):
- Download this file. This is an htaccess file which tells your web server to cache content for a specified time.
- Copy & paste that file and save it on your computer as htaccess.txt
- Upload that file to the directory inside your ‘NAME.hyperesources’ folder using an FTP client.
- Rename that file to be the following:
If you are unable to access your server via FTP, please contact your web host and share this page with them.
To test what caching headers are being sent from your server, open Terminal and run this:
curl -I http://site.com/image.jpg
If your file is being cached, you’ll see something like this in the output:
Expires: Sat, 25 Oct 2015 23:07:42 GMT Cache-Control: max-age=2592000