No caching

We are about to launch a new site, with hundreds of pdf:s, pictures and images. When I change something on the site, I always have to manually clear cache of Chrome to show him. Even whole pdf:s, then he puts cache I me wrong that so na not empty my cache before.

We have hundreds of customers using our site. I can't tell them firstly clear their cache before viewing our site. Is there a way to put this in Dreamweaver, that it should NOT allow any caching?

I hope you understand what I mean, I am new to the program and only a 'user' (someone else built the site, I only add and delete stuff).

Lena, Sweden

There are several ways to prevent caching a page:

  • Set expiration on the server
  • Set expiration using PHP
  • Set expiration using .htaccess
  • Use the cache manifest file to control the cache
  • Use the meta tag to control the cache

.. .etc

(This list is somehow in order from best to worst)

To force the new download of a file, you can add a unique to the URL query string, for example

Some pdf - file.PDF? NoCache = 123456789

I use the Date object to generate unique numbers.

--

Kenneth Kawamoto

http://www.materiaprima.co.UK/

Tags: Dreamweaver

Similar Questions

  • How to remove the cache of mail under macOS Sierra?

    I was not able to clear my cache of mail to update the web images. I tried to empty as I did in Mavericks and it does not work. In Mavericks, I rarely had even do like everything. In the Sierra I can't erase?

    Hello

    There is a very useful tool built into macOS Sierra for free space, including mail cache: sierra.html http://www.iphonehacks.com/2016/09/analyze-storage-get-rid-unwanted-files-macos-

  • caching of server log entry

    Can someone please explain the difference between "stored on the Internet" and "imported"?

    I have activated additional recording and it says:

    "Since the beginning of server: 1.61 TB returned to clients, 165,28 GB stored from the Internet, 0 bytes from peers, 116.3 MB abandoned; GB any 43.93. »


    My best guess is maybe imported refers to iOS clients backups?

    Thank you!

    'Imported' means data user uploaded through your server to cache to iCloud.

  • Caching server - you can remove individual files?

    Hello, I'm running a server from caching on a Mac Mini 10.11.6.

    Today, the iTunes 12.5.1 update came out, but none of my systems are able to install the update of the caching server. Download package, so they fail. I think that the download must be corrupted. I turned off the server and then update of iTunes on one of the clients, and it worked. So I think that the copy on the server is bad.

    Is it possible to find and remove the correct file in the packages cached so that it will download a new copy? Or do I have to reset the entire cache?

    Hi W.Loring,

    Try these two suggestions:

    -Run under sudo:

    /Applications/server.app/Contents/ServerRoot/usr/sbin/serveradmin caching settings: LogClientIdentity = true

    /Applications/server.app/Contents/ServerRoot/usr/sbin/serveradmin stop caching

    /Applications/server.app/Contents/ServerRoot/usr/sbin/serveradmin start caching

    - then check service log hiding in.app for clues

    -Check: Configure OS X Server Advanced Cache Settings and set LogLevel, restart the cache service and check the alternative log file for clues.  Remember that performance will decrease with this context.

    hope this helps, dwbrecovery

  • Apple caching server in a Windows domain?

    Hello

    We seek to add caching to the Apple services to our WIndows domain. It seems that we need a DNS server to do? Does anyone know the DNS settings, which can be placed on our servers DNS Windows to Apple devices point to the caching server?

    Thank you

    If your PC can access the internet using your DC as DNS server (which is the usual case in an Active Directory environment) then you will should not do something else. But a man of what DNS it is, is not the same as another. Anther thing that you should be aware, that's if your environment uses a proxy. In which case you may need to this twist a bit then as caching and access is not limited somehow.

    There are some useful articles/guides you might look at first before moving forward:

    http://help.Apple.com/ServerApp/Mac/5.1.5/#/apd6015d9573

    http://help.Apple.com/ServerApp/Mac/5.1.5/#/apd74DDE89F-08D2-4E0A-A5CD-155E345EF B83

    http://help.Apple.com/ServerApp/Mac/5.1.5/#/apd5E1AD52E-012B-4A41-8F21-8E9EDA565 83

    Content types supported by the caching service in OS X Server - Apple Support

    https://www.yesdevnull.NET/2013/10/OS-x-Mavericks-server-setting-up-caching-serv er.

    http://krypted.com/Mac-security/the-new-caching-service-in-OS-x-server/

    http://blog.fraserhess.com/2013/11/caching-server-2.html

  • Delete the contents of the Caches folder?

    Hi all

    Hard drive > users > username > library > Caches

    I discovered Caches of this record is About 60 GB big.

    I can delete everything inside this folder?

    Thank you!

    Hi howwow. Yes, you can delete any folder cache and it will rebuild. But be aware that your mac will be slower for a while after doing this, until they can catch up.

  • Apple devices like iPads don't leave caches in the system? Yes or no.  If yes how system caches can be deleted?

    Apple devices like iPads don't leave caches in the system? Yes or no.  If yes how system caches can be deleted?

    Yes.

    IOS or system caches are called "Documents & Data" or D & D for short and 'others '. They can be seen by plugging your iOS device on iTunes - on the Summary tab down there will be bar display accurately. They cannot be deleted. The only way to reset is to do a system restore. A restore will reduce the size of D & D and others, but they will start to grow again. However, applications have caches that can be deleted. Safari for example > you can delete all Cookies and data. For other applications, it depends on the application.

    The system restore. First save your device via iTunes. Also import your photos on your computer and copy all the data if possible. Reconstruction of the support first test and test. If this does not help, you may need to restore as a new and reconfigure from scratch as the backup may be damaged. It is important to have your photos and your saved data separately from the backup. Here are the steps for a restoration:

    https://support.Apple.com/en-us/HT201252

    These items also help explain the caches:

    http://osxdaily.com/2013/07/24/remove-other-data-storage-iPhone-iPad/

    http://www.IMore.com/how-find-and-remove-other-files-iPhone-and-iPad

    https://support.Apple.com/en-pH/HT201656

    https://discussions.Apple.com/docs/doc-5142

  • How can I erase history navigation, cache and cookies

    How can I erase history navigation, cache and cookies?

    You'd which using your Safari browser. Perhaps under the menu Safari or in the privacy of the Safari preferences option.

  • After having emptied my cache, if I register in a site with my name of user and password, I get "Would you like Firefox to remember this password" how to avoid this?

    I clear my cache frequently.
    Every time I empty my cache and proceed to the signing in the email, facebook... I get the same question all over again.

    "Would you like Firefox to remember this password"
    
    How can I permanently disable this?
    

    You can disable password manager if you want to never store a name and a password.

    • Tools > Options > Security: passwords: [] "Remember passwords for sites".

    Otherwise you can click on the key icon to the left of the address bar Firefox request to store a password and click on maybe ever to create an exception block.

    In case you use 'Clear history of Firefox closing' or otherwise to clear the history.

    • do not delete Site preferences
    • Compensation of the "Site Preferences" clears all exceptions for cookies, images, pop-up windows, installation of software, passwords, and other specific data from Web site.
    • Deletion of Cookies will delete all selected cookies, including cookies with an exception to allow that you want to keep.
  • is there sensitive data in ~/.cache/thunderbird?

    Hello

    I'm using Linux. I'm already linked to ~/.thunderbird encryption (which is actually a symbolic link to an encrypted .thunderbird folder). Are there records more 'sensitive' and cache used by thunderbird? I have read all the questions that I found here, but the best suggestion was to encrypt the entire disk and do not use encryption application. Thunderbird has an internal mechanism to encrypt all the data? (I am currently using encfs)

    Thnx in advance
    Spyros

    Are there records more 'sensitive' and cache used by thunderbird?

    Thunderbird uses the cache the same way as Firefox - for caching of web content.
    If there is something "sensitive" with her, it depends on your threat model.

    I have read all the questions that I found here, but the best suggestion was to encrypt the entire disk and do not use encryption application.

    Encrypt me the entire drive would be more sensible than the encryption of the selective files for certain applications.

    Thunderbird has an internal mechanism to encrypt all the data?

    Thunderbird allows you to encrypt messages, either by using S/MIME or PGP. It is not encrypt the profile itself.

  • Can I restore my favorites from a cache folder?

    When I tried to save my favorites I chose by the profile error in AppData > Local instead of AppData > Roaming. Accordingly, I have no "bookmarkbackups" folder

    Is there a way to restore my bookmarks of the cache folder in AppData > local backup?

    Sorry, there is no bookmarks in the cache, or anywhere in the AppData > Local file path.

  • How can I force Firefox to access an external web site rather than the site corresponding to the cache on my computer?

    A web site that I regularly access using Firefox has been updated in the last 24 hours. I make Firefox to access the external site updates rather than site updates apparently stored on my memory cache?

    You can reload webpages and ignore the cache to refresh potentially stale or corrupt.

    • Hold down the SHIFT key and click the Reload button
    • Press 'Ctrl + F5' or 'Ctrl + Shift + R' (Windows, Linux)
    • Press 'Command + shift + R' (Mac)
  • Why him clear the cache has been omitted from Safari 9.0.2?

    My 9.0.2 Safari has issues with just web content after that I downloaded a new song to Reverbnation.com he won't play any of the tracks. Tried almost everything but no joy.

    "Why" is a difficult question to answer here because we are all end-users like you and not employees of Apple. There is an easy way to restore it however.

    Go to Safari preferences and select the "Advanced" tab To well this tab is a checkbox labeled "see her develop menu in the menu bar.» Hat box to check and yo uget and menu extra I have Safari which has an option "empty Caches.

    You can also type e command option

  • Ram disk cache is not all temporary files

    I use xubuntu and want Firefox to use a virtual disk cache. My settings are:

    Browser.cache.Disk.parent_directory - string - / media/ramdisk
    Browser.cache.Disk.Enable - false
    Browser.cache.Memory.Enable - true

    When I restart firefox I see a new cache2 folder appear in the virtual disk (as it should). Inside this folder are two more, condemned and entries.

    In the past, when I used a ramdisk the 'inputs' folder still contained data for the displayed web pages. These data disappear (as it should) is restarted.

    However, now, the "Scriptures" folder is always empty - never contains all the temporary files.

    As far as I know, firefox does not use another cache somewhere I changed the name to .old.

    Is it normal to act that way now?

    You are welcome.

  • Web cache does not

    My web cached in advanced options content always shows that he uses "0 bytes of disk space." It's a bit like DuraShock fuel that always shows empty. How can I do display the size of the cache again?

    The application cache is not used, then see 0 it is OK.

    You can open the topic: config page via the search and address bar of browser.cache. * .enable prefs.
    You can restore the default user set prefs ("BOLD") via the context menu.

    You can also view the cache network.http.use preferably.

  • I accidentally deleted the cache of Firefox and lost a little ins diary. How can I get back them?

    Yesterday, I followed a prompt to update Firefox, my screen has changes, before I could click a left upper tab for bookmarks, now it comes from the top to the right via a button. Can I go back to the previous layout?

    It seems to me deleted cache etc. When I intended only to erase recent browsing history; is it possible to recover.

    I also seem to have lost all my contacts from flickr (not sure if this is related).

    Thank you.

    Yes, I made an update of Firefox when prompted and Yes... I have the old data of Firefox on the desktop folder, if we need save files.

    Menu Bar - now recovered thanks.

Maybe you are looking for

  • Is there a way to watch local TV on Apple TV?

    I just had my first experience with Apple TV. It of an A1625 64 GB model, and after half a day of playing with it, seems to do almost everything what I hoped it would be... EXCEPT, I did not know how to view the live streaming of local television in

  • How to recover archives

    I send a few messages to be archived, and I don't know how to get back them. Thank you.

  • stop other users

    I have an iPhone and my wife has a Samsung phone. Although we share a desktop iMac computer. Usually, I keep my phone charged up on the desktop by cable, whenever my wife sign the office, my pictures are there for her to see, how I can't leave him or

  • Vibe turned bricked need help

    Hi, while trying to root my device, I've bricked it It starts up to the first image (lenovo android-powered) and then stops with a vibration very long. If I plug the phone to the pc, it connects with 'Qualcomm HS USB Diagnostics 9006' representation

  • Atheros Driver: Important update failed

    Satellite A205-S5843 Windows 7 Home Premium, 32-bit operating system My network connection works. Update of Windows listed and marked the Atheros AR5007EG Wireless Network Adapter as an important update. The update fails during installation. Measures